mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-17 16:40:07 +02:00
Widen the hot zone for sub-view rearrangement...
... so it's wider than the close button
This commit is contained in:
parent
f10b303279
commit
000d63c95e
@ -421,7 +421,8 @@ private:
|
|||||||
class SubViewRearrangeHandle : public UIHandle
|
class SubViewRearrangeHandle : public UIHandle
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
enum { HotZoneWidth = 15 };
|
// Make it somewhat wider than the close button
|
||||||
|
enum { HotZoneWidth = 3 * kTrackInfoBtnSize / 2 };
|
||||||
|
|
||||||
static UIHandlePtr HitTest( std::weak_ptr<UIHandle> &holder,
|
static UIHandlePtr HitTest( std::weak_ptr<UIHandle> &holder,
|
||||||
WaveTrackView &view, WaveTrackSubView &subView,
|
WaveTrackView &view, WaveTrackSubView &subView,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user