mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04: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);
|
SetInkDropMode(InkDropMode::ON);
|
||||||
set_ink_drop_base_color(
|
set_ink_drop_base_color(
|
||||||
color_utils::BlendTowardOppositeLuma(background_color_, 0x61));
|
color_utils::BlendTowardMaxContrast(background_color_, 0x61));
|
||||||
}
|
}
|
||||||
|
|
||||||
SubmenuButton::~SubmenuButton() {}
|
SubmenuButton::~SubmenuButton() {}
|
||||||
|
|||||||
Reference in New Issue
Block a user