mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-02 14:17:07 +01:00
Widen the hot zone for sub-view rearrangement...
... so it's wider than the close button
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user