зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1261576 - render scrollbar thumb as "hovered" to emulate active Gtk thumb style. r=karlt
--HG-- extra : rebase_source : da38d660d48aceaa600ae8bf924c7faa186d9d39
This commit is contained in:
Родитель
50a17cd4ec
Коммит
97a6dfcff5
|
@ -307,6 +307,8 @@ nsNativeThemeGTK::GetGtkWidgetAndState(uint8_t aWidgetType, nsIFrame* aFrame,
|
|||
|
||||
if (CheckBooleanAttr(aFrame, nsGkAtoms::active)) {
|
||||
aState->active = TRUE;
|
||||
// Set hover state to emulate Gtk style of active scrollbar thumb
|
||||
aState->inHover = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче