mirror of
https://github.com/electron/electron.git
synced 2026-02-17 02:21:37 -05:00
Rename BlendTowardOppositeLuma() to BlendTowardContrastingEndpoint().
https://chromium-review.googlesource.com/c/chromium/src/+/1400060
This commit is contained in:
@@ -37,7 +37,7 @@ SubmenuButton::SubmenuButton(const base::string16& title,
|
||||
|
||||
SetInkDropMode(InkDropMode::ON);
|
||||
set_ink_drop_base_color(
|
||||
color_utils::BlendTowardOppositeLuma(background_color_, 0x61));
|
||||
color_utils::BlendTowardMaxContrast(background_color_, 0x61));
|
||||
}
|
||||
|
||||
SubmenuButton::~SubmenuButton() {}
|
||||
|
||||
Reference in New Issue
Block a user