1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-01-16 17:41:15 +01:00

Stop flicker of Grabbers.

This commit is contained in:
James Crook
2016-08-19 17:53:39 +01:00
parent 6387b74a98
commit 4565703c50

View File

@@ -32,6 +32,7 @@ around to NEW positions.
#include "../Experimental.h" #include "../Experimental.h"
#include "../AColor.h" #include "../AColor.h"
#include "../AllThemeResources.h"
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
/// Methods for Grabber /// Methods for Grabber
@@ -60,6 +61,7 @@ Grabber::Grabber(wxWindow * parent, wxWindowID id)
mOver = false; mOver = false;
mPressed = false; mPressed = false;
mAsSpacer = false; mAsSpacer = false;
SetBackgroundColour( theTheme.Colour( clrMedium ) );
/* i18n-hint: A 'Grabber' is a region you can click and drag on /* i18n-hint: A 'Grabber' is a region you can click and drag on
It's used to drag a track around (when in multi-tool mode) rather It's used to drag a track around (when in multi-tool mode) rather