Commit fa77f2b5 authored by John Pham's avatar John Pham Committed by Commit Bot

ApplyTextColors when setting subpixel rendering on label

Change-Id: Icf8641dc2aed3f8111ef417f078867e832da24ab
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2316409
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Reviewed-by: default avatarPeter Kasting <pkasting@chromium.org>
Auto-Submit: John Pham <johnp@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#791379}
parent 7d165b17
......@@ -210,6 +210,7 @@ void Label::SetSubpixelRenderingEnabled(bool subpixel_rendering_enabled) {
if (subpixel_rendering_enabled_ == subpixel_rendering_enabled)
return;
subpixel_rendering_enabled_ = subpixel_rendering_enabled;
ApplyTextColors();
OnPropertyChanged(&subpixel_rendering_enabled_, kPropertyEffectsPaint);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment