mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-15 00:51:21 +01:00
Changing affordance area height to match the height of the button to the left
(cherry picked from audacity commit 45a90e38a3dd5f799244057b3c512943dca8e3e8) Signed-off-by: akleja <storspov@gmail.com>
This commit is contained in:
committed by
akleja
parent
cc49ceec3d
commit
2330c51ce5
@@ -94,6 +94,7 @@ is time to refresh some aspect of the screen.
|
||||
#include <wx/graphics.h>
|
||||
|
||||
static_assert( kVerticalPadding == kTopMargin + kBottomMargin );
|
||||
static_assert( kTrackInfoBtnSize == kAffordancesAreaHeight, "Drag bar is misaligned with the menu button");
|
||||
|
||||
/**
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
// See big pictorial comment in TrackPanel.cpp for explanation of these numbers
|
||||
//! constants related to y coordinates in the track panel
|
||||
enum : int {
|
||||
kAffordancesAreaHeight = 20,
|
||||
kAffordancesAreaHeight = 18,
|
||||
kTopInset = 4,
|
||||
kTopMargin = kTopInset + kBorderThickness,
|
||||
kBottomMargin = kShadowThickness + kBorderThickness,
|
||||
|
||||
Reference in New Issue
Block a user