mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-12-03 13:21:31 +00:00
Align modifiers
This commit is contained in:
parent
52f86e00dc
commit
f193d0f4b3
1 changed files with 8 additions and 2 deletions
|
@ -11,6 +11,7 @@
|
||||||
<Toggle :title="autosaveTitle" v-model="autosave" />
|
<Toggle :title="autosaveTitle" v-model="autosave" />
|
||||||
<Toggle v-if="projInfo.enablePausing" :title="isPausedTitle" v-model="isPaused" />
|
<Toggle v-if="projInfo.enablePausing" :title="isPausedTitle" v-model="isPaused" />
|
||||||
<Toggle :title="progressMethodTitle" v-model="usingLog" />
|
<Toggle :title="progressMethodTitle" v-model="usingLog" />
|
||||||
|
<Toggle :title="alignModifierUnitsTitle" v-model="alignUnits" />
|
||||||
</template>
|
</template>
|
||||||
</Modal>
|
</Modal>
|
||||||
</template>
|
</template>
|
||||||
|
@ -47,7 +48,7 @@ const settingFieldsComponent = computed(() => {
|
||||||
});
|
});
|
||||||
|
|
||||||
const { showTPS, theme } = toRefs(settings);
|
const { showTPS, theme } = toRefs(settings);
|
||||||
const { autosave, usingLog } = toRefs(player);
|
const { autosave, usingLog, alignUnits } = toRefs(player);
|
||||||
const isPaused = computed({
|
const isPaused = computed({
|
||||||
get() {
|
get() {
|
||||||
return player.devSpeed === 0;
|
return player.devSpeed === 0;
|
||||||
|
@ -69,7 +70,12 @@ const isPausedTitle = jsx(() => (
|
||||||
));
|
));
|
||||||
const progressMethodTitle = jsx(() => (
|
const progressMethodTitle = jsx(() => (
|
||||||
<span>
|
<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>
|
</span>
|
||||||
));
|
));
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue