Align modifiers

This commit is contained in:
ducdat0507 2022-12-13 17:58:09 +07:00
parent 52f86e00dc
commit f193d0f4b3

View file

@ -11,6 +11,7 @@
<Toggle :title="autosaveTitle" v-model="autosave" />
<Toggle v-if="projInfo.enablePausing" :title="isPausedTitle" v-model="isPaused" />
<Toggle :title="progressMethodTitle" v-model="usingLog" />
<Toggle :title="alignModifierUnitsTitle" v-model="alignUnits" />
</template>
</Modal>
</template>
@ -47,7 +48,7 @@ const settingFieldsComponent = computed(() => {
});
const { showTPS, theme } = toRefs(settings);
const { autosave, usingLog } = toRefs(player);
const { autosave, usingLog, alignUnits } = toRefs(player);
const isPaused = computed({
get() {
return player.devSpeed === 0;
@ -69,7 +70,12 @@ const isPausedTitle = jsx(() => (
));
const progressMethodTitle = jsx(() => (
<span>
Use log for progress bar<Tooltip display="Save-specific">*</Tooltip>
Logarithmic progress bars<Tooltip display="Save-specific">*</Tooltip>
</span>
));
const alignModifierUnitsTitle = jsx(() => (
<span>
Align modifier units<Tooltip display="Save-specific">*</Tooltip>
</span>
));
</script>