1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-17 08:30:06 +02:00

Widen the hot zone for sub-view rearrangement...

... so it's wider than the close button
This commit is contained in:
Paul Licameli 2020-01-17 16:14:23 -05:00
parent f10b303279
commit 000d63c95e

View File

@ -421,7 +421,8 @@ private:
class SubViewRearrangeHandle : public UIHandle
{
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,
WaveTrackView &view, WaveTrackSubView &subView,