Preferences: Make "Antialiasing" Revert button work as expected.
Fixes #11787. Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
This commit is contained in:
parent
906283b6d6
commit
4e71cef8fd
@ -194,7 +194,6 @@ AntialiasingSettingsView::MessageReceived(BMessage *msg)
|
||||
|| subpixelAntialiasing == fCurrentSubpixelAntialiasing)
|
||||
break;
|
||||
|
||||
fSavedSubpixelAntialiasing = fCurrentSubpixelAntialiasing;
|
||||
fCurrentSubpixelAntialiasing = subpixelAntialiasing;
|
||||
fAverageWeightControl->SetEnabled(fCurrentSubpixelAntialiasing);
|
||||
|
||||
@ -210,7 +209,6 @@ AntialiasingSettingsView::MessageReceived(BMessage *msg)
|
||||
|| hinting == fCurrentHinting)
|
||||
break;
|
||||
|
||||
fSavedHinting = fCurrentHinting;
|
||||
fCurrentHinting = hinting;
|
||||
set_hinting_mode(fCurrentHinting);
|
||||
|
||||
@ -223,7 +221,6 @@ AntialiasingSettingsView::MessageReceived(BMessage *msg)
|
||||
if (averageWeight == fCurrentAverageWeight)
|
||||
break;
|
||||
|
||||
fSavedAverageWeight = fCurrentAverageWeight;
|
||||
fCurrentAverageWeight = averageWeight;
|
||||
|
||||
set_average_weight(fCurrentAverageWeight);
|
||||
|
Loading…
Reference in New Issue
Block a user