ags: add config option for gtk anim duration

This commit is contained in:
end-4
2024-03-04 22:35:07 +07:00
parent 132bc97c83
commit f5885e444c
26 changed files with 60 additions and 87 deletions
+3 -3
View File
@@ -70,7 +70,7 @@ const WaifuImage = (taglist) => {
const downloadState = Stack({
homogeneous: false,
transition: 'slide_up_down',
transitionDuration: 150,
transitionDuration: userOptions.animations.durationSmall,
children: {
'api': ImageState('api', 'Calling API'),
'download': ImageState('downloading', 'Downloading image'),
@@ -128,7 +128,7 @@ const WaifuImage = (taglist) => {
});
const blockImageRevealer = Revealer({
transition: 'slide_down',
transitionDuration: 150,
transitionDuration: userOptions.animations.durationLarge,
revealChild: false,
child: Overlay({
child: Box({
@@ -328,7 +328,7 @@ export const waifuView = Scrollable({
const waifuTags = Revealer({
revealChild: false,
transition: 'crossfade',
transitionDuration: 150,
transitionDuration: userOptions.animations.durationLarge,
child: Box({
className: 'spacing-h-5',
children: [