From f077c555e20797388bfdf59ff62e9677e5b3d7e5 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Mon, 23 Jan 2023 09:28:39 +0300 Subject: [PATCH] Moved out styles of ripples with shadowFg color to single place. --- Telegram/SourceFiles/calls/calls.style | 8 ++------ Telegram/SourceFiles/editor/editor.style | 4 +--- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/Telegram/SourceFiles/calls/calls.style b/Telegram/SourceFiles/calls/calls.style index 684c5acbf..279c1e830 100644 --- a/Telegram/SourceFiles/calls/calls.style +++ b/Telegram/SourceFiles/calls/calls.style @@ -959,9 +959,7 @@ groupCallTopBarJoin: RoundButton(defaultActiveButton) { textTop: 4px; } groupCallTopBarOpen: RoundButton(groupCallTopBarJoin) { - ripple: RippleAnimation(defaultRippleAnimation) { - color: shadowFg; - } + ripple: universalRippleAnimation; } groupCallBoxButton: RoundButton(defaultBoxButton) { textFg: groupCallActiveFg; @@ -1250,9 +1248,7 @@ desktopCaptureSubmit: RoundButton(desktopCaptureCancel) { textBg: groupCallMuted1; textBgOver: groupCallMuted1; - ripple: RippleAnimation(groupCallRipple) { - color: shadowFg; - } + ripple: universalRippleAnimation; } desktopCaptureWithAudio: Checkbox(defaultCheckbox) { textFg: groupCallMembersFg; diff --git a/Telegram/SourceFiles/editor/editor.style b/Telegram/SourceFiles/editor/editor.style index c0d1cf5e6..68ec4c396 100644 --- a/Telegram/SourceFiles/editor/editor.style +++ b/Telegram/SourceFiles/editor/editor.style @@ -59,9 +59,7 @@ photoEditorRotateButton: IconButton(defaultIconButton) { rippleAreaPosition: point(4px, 4px); rippleAreaSize: 40px; - ripple: RippleAnimation(defaultRippleAnimation) { - color: shadowFg; - } + ripple: universalRippleAnimation; } photoEditorFlipButton: IconButton(photoEditorRotateButton) { icon: icon {{ "photo_editor/flip", photoEditorButtonIconFg }};