mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
feat: faster animations
This commit is contained in:
@@ -711,7 +711,7 @@ createPollOptionRemove: CrossButton {
|
||||
crossFgOver: boxTitleCloseFgOver;
|
||||
crossPosition: point(0px, 0px);
|
||||
|
||||
duration: 150;
|
||||
duration: 135;
|
||||
loadingPeriod: 1000;
|
||||
ripple: RippleAnimation(defaultRippleAnimation) {
|
||||
color: windowBgOver;
|
||||
@@ -751,7 +751,7 @@ backgroundCheck: ServiceCheck {
|
||||
large: 6px;
|
||||
stroke: 2px;
|
||||
color: msgServiceFg;
|
||||
duration: 200;
|
||||
duration: 180;
|
||||
}
|
||||
backgroundConfirmPadding: margins(24px, 16px, 24px, 16px);
|
||||
backgroundConfirm: RoundButton(defaultActiveButton) {
|
||||
|
||||
@@ -397,7 +397,7 @@ callDebugPadding: margins(24px, 0px, 24px, 0px);
|
||||
callDebugLabel: FlatLabel(defaultFlatLabel) {
|
||||
margin: callDebugPadding;
|
||||
}
|
||||
callPanelDuration: 150;
|
||||
callPanelDuration: 135;
|
||||
|
||||
callPanelSignalBars: CallSignalBars {
|
||||
width: 2px;
|
||||
@@ -1158,7 +1158,7 @@ groupCallSpeakerArcsAnimation: ArcsAnimation {
|
||||
fg: groupCallIconFg;
|
||||
stroke: 2px;
|
||||
space: 4px;
|
||||
duration: 200;
|
||||
duration: 180;
|
||||
deltaAngle: 60;
|
||||
deltaHeight: 6px;
|
||||
deltaWidth: 7px;
|
||||
|
||||
@@ -374,7 +374,7 @@ stickersScroll: ScrollArea(boxScroll) {
|
||||
deltab: 9px;
|
||||
}
|
||||
stickersRowDisabledOpacity: 0.4;
|
||||
stickersRowDuration: 200;
|
||||
stickersRowDuration: 180;
|
||||
|
||||
emojiStatusDefault: icon {{ "emoji/stickers_premium", emojiIconFg }};
|
||||
|
||||
@@ -395,10 +395,10 @@ emojiPanWidth: 345px;
|
||||
emojiPanMinHeight: 278px;
|
||||
emojiPanMaxHeight: 640px;
|
||||
emojiPanHeightRatio: 0.75;
|
||||
emojiPanShowDuration: 200;
|
||||
emojiPanDuration: 200;
|
||||
emojiPanShowDuration: 180;
|
||||
emojiPanDuration: 180;
|
||||
emojiPanHover: windowBgOver;
|
||||
emojiPanSlideDuration: 200;
|
||||
emojiPanSlideDuration: 180;
|
||||
emojiPanArea: size(34px, 32px);
|
||||
emojiPanRadius: 8px;
|
||||
|
||||
@@ -416,7 +416,7 @@ defaultTabbedSearchCancel: CrossButton {
|
||||
crossFgOver: menuIconFg;
|
||||
crossPosition: point(1px, 3px);
|
||||
|
||||
duration: 150;
|
||||
duration: 135;
|
||||
loadingPeriod: 1000;
|
||||
ripple: emptyRippleAnimation;
|
||||
}
|
||||
@@ -503,7 +503,7 @@ stickerPanRemoveSet: IconButton(hashtagClose) {
|
||||
rippleAreaPosition: point(0px, 0px);
|
||||
}
|
||||
stickerIconMove: 400;
|
||||
stickerPreviewDuration: 150;
|
||||
stickerPreviewDuration: 135;
|
||||
stickerPreviewMin: 0.1;
|
||||
|
||||
emojiPanColorAll: IconButton(stickerPanRemoveSet) {
|
||||
@@ -810,7 +810,7 @@ defaultMessageBar: MessageBar {
|
||||
text: defaultTextStyle;
|
||||
textFg: historyComposeAreaFg;
|
||||
textPalette: historyComposeAreaPalette;
|
||||
duration: 160;
|
||||
duration: 150;
|
||||
}
|
||||
|
||||
historyComposeButton: FlatButton {
|
||||
|
||||
@@ -101,7 +101,7 @@ forumDialogJumpRadius: 11px;
|
||||
dialogsOnlineBadgeStroke: 3px;
|
||||
dialogsOnlineBadgeSize: 12px;
|
||||
dialogsOnlineBadgeSkip: point(0px, 0px);
|
||||
dialogsOnlineBadgeDuration: 150;
|
||||
dialogsOnlineBadgeDuration: 135;
|
||||
|
||||
dialogsCallBadgeSize: 16px;
|
||||
dialogsCallBadgeSkip: point(-3px, -3px);
|
||||
|
||||
@@ -550,7 +550,7 @@ infoMembersCancelSearch: CrossButton {
|
||||
crossFgOver: menuIconFgOver;
|
||||
crossPosition: point(0px, 0px);
|
||||
|
||||
duration: 150;
|
||||
duration: 135;
|
||||
loadingPeriod: 1000;
|
||||
ripple: RippleAnimation(defaultRippleAnimation) {
|
||||
color: windowBgOver;
|
||||
|
||||
@@ -73,8 +73,8 @@ introNextSlide: 200px;
|
||||
introStepHeight: 384px;
|
||||
introContentTopAdd: 30px;
|
||||
introStepHeightFull: 590px;
|
||||
introSlideDuration: 200;
|
||||
introCoverDuration: 200;
|
||||
introSlideDuration: 180;
|
||||
introCoverDuration: 180;
|
||||
|
||||
introNextButton: RoundButton(defaultActiveButton) {
|
||||
width: 300px;
|
||||
|
||||
@@ -81,7 +81,7 @@ mediaPlayerButton: MediaPlayerButton {
|
||||
color: lightButtonBgOver;
|
||||
}
|
||||
|
||||
duration: 200;
|
||||
duration: 180;
|
||||
}
|
||||
mediaPlayerWideWidth: 460px;
|
||||
mediaPlayerHeight: 35px;
|
||||
@@ -284,7 +284,7 @@ mediaPlayerPlayback: FilledSlider {
|
||||
activeFg: mediaPlayerActiveFg;
|
||||
inactiveFg: mediaPlayerInactiveFg;
|
||||
disabledFg: mediaPlayerDisabledFg;
|
||||
duration: 150;
|
||||
duration: 135;
|
||||
}
|
||||
|
||||
mediaPlayerPanelMarginLeft: 10px;
|
||||
|
||||
@@ -218,8 +218,8 @@ mediaviewIconOver: 36px;
|
||||
|
||||
mediaviewWaitHide: 2000;
|
||||
mediaviewHideDuration: 1000;
|
||||
mediaviewShowDuration: 200;
|
||||
mediaviewFadeDuration: 150;
|
||||
mediaviewShowDuration: 180;
|
||||
mediaviewFadeDuration: 135;
|
||||
|
||||
mediaviewDeltaFromLastAction: 5px;
|
||||
mediaviewSwipeDistance: 80px;
|
||||
|
||||
@@ -378,7 +378,7 @@ botKbTinyButton: BotKeyboardButton {
|
||||
botKbScroll: defaultSolidScroll;
|
||||
|
||||
historyScrollDateHideTimeout: 1000;
|
||||
historyDateFadeDuration: 200;
|
||||
historyDateFadeDuration: 180;
|
||||
historyDiceToast: Toast(defaultToast) {
|
||||
minWidth: msgMinWidth;
|
||||
maxWidth: 640px;
|
||||
@@ -506,7 +506,7 @@ attachPreviewThumbLayout: HistoryFileLayout {
|
||||
msgFileMinWidth: 268px;
|
||||
msgFileTopMinus: 6px;
|
||||
|
||||
msgFileOverDuration: 200;
|
||||
msgFileOverDuration: 180;
|
||||
msgFileRadialLine: 3px;
|
||||
|
||||
msgWaveformBar: 2px;
|
||||
@@ -561,14 +561,14 @@ historyAdminLogCancelSearch: CrossButton {
|
||||
crossFgOver: menuIconFgOver;
|
||||
crossPosition: point(6px, 11px);
|
||||
|
||||
duration: 150;
|
||||
duration: 135;
|
||||
loadingPeriod: 1000;
|
||||
ripple: RippleAnimation(defaultRippleAnimation) {
|
||||
color: windowBgOver;
|
||||
}
|
||||
}
|
||||
historyAdminLogSearchTop: 11px;
|
||||
historyAdminLogSearchSlideDuration: 150;
|
||||
historyAdminLogSearchSlideDuration: 135;
|
||||
|
||||
historyFastShareSize: 31px;
|
||||
historyFastShareLeft: 13px;
|
||||
@@ -852,7 +852,7 @@ sendAsButton: SendAsButton {
|
||||
stroke: 1.5;
|
||||
minScale: 0.3;
|
||||
}
|
||||
duration: 150;
|
||||
duration: 135;
|
||||
}
|
||||
|
||||
reactionInlinePadding: margins(5px, 2px, 7px, 2px);
|
||||
|
||||
@@ -122,7 +122,7 @@ premiumPreviewButtonLabel: FlatLabel(defaultFlatLabel) {
|
||||
textFg: premiumButtonFg;
|
||||
style: semiboldTextStyle;
|
||||
}
|
||||
premiumSlideDuration: 200;
|
||||
premiumSlideDuration: 180;
|
||||
premiumVideoStarSize: size(77px, 73px);
|
||||
|
||||
premiumPreviewHeight: 312px;
|
||||
|
||||
@@ -56,7 +56,7 @@ notifyWidth: 320px;
|
||||
notifyMinHeight: 80px;
|
||||
notifyDeltaX: 6px;
|
||||
notifyDeltaY: 7px;
|
||||
notifyActionsDuration: 200;
|
||||
notifyActionsDuration: 180;
|
||||
|
||||
notifyHideAllHeight: 36px;
|
||||
|
||||
@@ -190,7 +190,7 @@ connectingRetryLink: LinkButton(defaultLinkButton) {
|
||||
}
|
||||
connectingProxyOff: icon {{ "proxy_off", menuIconFg }};
|
||||
connectingProxyOn: icon {{ "proxy_on", windowBgActive }};
|
||||
connectingDuration: 150;
|
||||
connectingDuration: 135;
|
||||
|
||||
windowOutdatedDetails: FlatLabel(defaultFlatLabel) {
|
||||
align: align(top);
|
||||
|
||||
+1
-1
Submodule Telegram/lib_ui updated: 4e082a4dbf...db1b039982
Reference in New Issue
Block a user