small fixes

This commit is contained in:
end-4
2024-01-01 16:15:05 +07:00
parent cc408501df
commit 2932ffbf4b
4 changed files with 20 additions and 23 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ const UtilButton = ({ name, icon, onClicked }) => Button({
const Utilities = () => Box({
hpack: 'center',
className: 'spacing-h-5',
className: 'spacing-h-5 txt-onSurfaceVariant',
children: [
UtilButton({
name: 'Screen snip', icon: 'screenshot_region', onClicked: () => {
+2 -2
View File
@@ -141,9 +141,9 @@ const WaifuImage = (taglist) => {
const showImage = () => {
downloadState.shown = 'done';
blockImage.css = `background-image:url('${imagePath}');`;
blockImage.get_children()[0].revealChild = true;
blockImageRevealer.revealChild = true;
Utils.timeout(blockImageRevealer.transitionDuration,
() => blockImageRevealer.revealChild = true
() => blockImage.get_children()[0].revealChild = true
);
downloadIndicator._hide(downloadIndicator);
}