diff --git a/CHANGELOG.md b/CHANGELOG.md index ef97b5a9c..e09f6213c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ Dates are in `YYYY-MM-DD` format and versions are in [semantic versioning](http: - Correct typos in tutorial. - [#503](https://github.com/wordplaydev/wordplay/issues/503). Prevent infinite loops in parser. - [#504](https://github.com/wordplaydev/wordplay/issues/504). Account for non-fixed-width characters in caret positioning. +- [#488](https://github.com/wordplaydev/wordplay/issues/488). Added animations off indicator on stage. ## 0.10.1 2024-06-22 diff --git a/src/components/project/ProjectView.svelte b/src/components/project/ProjectView.svelte index 38b9a402a..61c308416 100644 --- a/src/components/project/ProjectView.svelte +++ b/src/components/project/ProjectView.svelte @@ -84,6 +84,7 @@ blocks, localized, Creators, + animationFactor, } from '../../db/Database'; import Arrangement from '../../db/Arrangement'; import type Value from '../../values/Value'; @@ -121,6 +122,7 @@ import Glyphs from '../../lore/Glyphs'; import Speech from '@components/lore/Speech.svelte'; import Translate from './Translate.svelte'; + import { AnimationFactorIcons } from '@db/AnimationFactorSetting'; export let project: Project; export let original: Project | undefined = undefined; @@ -1334,6 +1336,24 @@ )}>⨉ {/if} + {:else if tile.kind === TileKind.Output} + + l.ui.dialog.settings.mode + .animate, + ).modes[$animationFactor]} + >{AnimationFactorIcons[ + $animationFactor + ]} + {#if $animationFactor === 0}{$locales.get( + (l) => + l.ui.dialog.settings.mode + .animate, + ).modes[0]}{/if} {/if} diff --git a/src/components/settings/Settings.svelte b/src/components/settings/Settings.svelte index 0083830ed..509c37a90 100644 --- a/src/components/settings/Settings.svelte +++ b/src/components/settings/Settings.svelte @@ -21,6 +21,7 @@ import CreatorView from '../app/CreatorView.svelte'; import Beta from '../../routes/Beta.svelte'; import { Creator } from '../../db/CreatorDatabase'; + import { AnimationFactorIcons } from '@db/AnimationFactorSetting'; let user = getUser(); @@ -115,7 +116,7 @@ )} choice={$animationFactor} select={(choice) => Settings.setAnimationFactor(choice)} - modes={['πŸ§˜πŸ½β€β™€οΈ', 'πŸƒβ€β™€οΈ', 'Β½', 'β…“', 'ΒΌ']} + modes={AnimationFactorIcons} />