зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1715786 - Observe dynamic changes to the ScrollToClick system pref. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D119684
This commit is contained in:
Родитель
c4e62f99d4
Коммит
56da3bf9e0
|
@ -624,6 +624,12 @@ bool nsLookAndFeel::NativeGetFont(FontID aID, nsString& aFontName, gfxFontStyle&
|
|||
name:@"AppleAquaScrollBarVariantChanged"
|
||||
object:nil
|
||||
suspensionBehavior:NSNotificationSuspensionBehaviorDeliverImmediately];
|
||||
[NSDistributedNotificationCenter.defaultCenter
|
||||
addObserver:self
|
||||
selector:@selector(cachedValuesChanged)
|
||||
name:@"AppleNoRedisplayAppearancePreferenceChanged"
|
||||
object:nil
|
||||
suspensionBehavior:NSNotificationSuspensionBehaviorCoalesce];
|
||||
[NSDistributedNotificationCenter.defaultCenter
|
||||
addObserver:self
|
||||
selector:@selector(cachedValuesChanged)
|
||||
|
|
Загрузка…
Ссылка в новой задаче