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