зеркало из https://github.com/mozilla/gecko-dev.git
Removing scrollbar tracks from the list of widgets that don't need to be invalidated due to a state change. This fixes the scrollbar "stuck-in-hover" problem. Not part of the build.
This commit is contained in:
Родитель
f9a9dee218
Коммит
9572dfceb1
|
@ -505,8 +505,6 @@ nsNativeThemeGTK::WidgetStateChanged(nsIFrame* aFrame, PRUint8 aWidgetType,
|
||||||
{
|
{
|
||||||
// Some widget types just never change state.
|
// Some widget types just never change state.
|
||||||
if (aWidgetType == NS_THEME_TOOLBOX || aWidgetType == NS_THEME_TOOLBAR ||
|
if (aWidgetType == NS_THEME_TOOLBOX || aWidgetType == NS_THEME_TOOLBAR ||
|
||||||
aWidgetType == NS_THEME_SCROLLBAR_TRACK_VERTICAL ||
|
|
||||||
aWidgetType == NS_THEME_SCROLLBAR_TRACK_HORIZONTAL ||
|
|
||||||
aWidgetType == NS_THEME_STATUSBAR || aWidgetType == NS_THEME_STATUSBAR_PANEL ||
|
aWidgetType == NS_THEME_STATUSBAR || aWidgetType == NS_THEME_STATUSBAR_PANEL ||
|
||||||
aWidgetType == NS_THEME_STATUSBAR_RESIZER_PANEL ||
|
aWidgetType == NS_THEME_STATUSBAR_RESIZER_PANEL ||
|
||||||
aWidgetType == NS_THEME_PROGRESSBAR_CHUNK ||
|
aWidgetType == NS_THEME_PROGRESSBAR_CHUNK ||
|
||||||
|
|
|
@ -505,8 +505,6 @@ nsNativeThemeGTK::WidgetStateChanged(nsIFrame* aFrame, PRUint8 aWidgetType,
|
||||||
{
|
{
|
||||||
// Some widget types just never change state.
|
// Some widget types just never change state.
|
||||||
if (aWidgetType == NS_THEME_TOOLBOX || aWidgetType == NS_THEME_TOOLBAR ||
|
if (aWidgetType == NS_THEME_TOOLBOX || aWidgetType == NS_THEME_TOOLBAR ||
|
||||||
aWidgetType == NS_THEME_SCROLLBAR_TRACK_VERTICAL ||
|
|
||||||
aWidgetType == NS_THEME_SCROLLBAR_TRACK_HORIZONTAL ||
|
|
||||||
aWidgetType == NS_THEME_STATUSBAR || aWidgetType == NS_THEME_STATUSBAR_PANEL ||
|
aWidgetType == NS_THEME_STATUSBAR || aWidgetType == NS_THEME_STATUSBAR_PANEL ||
|
||||||
aWidgetType == NS_THEME_STATUSBAR_RESIZER_PANEL ||
|
aWidgetType == NS_THEME_STATUSBAR_RESIZER_PANEL ||
|
||||||
aWidgetType == NS_THEME_PROGRESSBAR_CHUNK ||
|
aWidgetType == NS_THEME_PROGRESSBAR_CHUNK ||
|
||||||
|
|
Загрузка…
Ссылка в новой задаче