Skip to content

Commit

Permalink
bug(Draw): Fix draw tool movement block label toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
Kruptein authored Aug 24, 2024
1 parent c5bb204 commit 6e20e3b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ tech changes will usually be stripped from release notes for the public

### Fixed

- Draw tool:
- Clicking on the "blocks movement" label in the draw tool's vision setting now properly toggles the related checkbox
- Ruler tool:
- Gridmode spacebar did not synchronize snapped end correctly to other players

Expand Down
5 changes: 4 additions & 1 deletion client/src/game/ui/tools/DrawTool.vue
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,12 @@ const alerts = computed(() => {
</div>

<div class="draw-checkbox-line">
<div>{{ t("game.ui.selection.edit_dialog.dialog.block_movement") }}</div>
<label for="vision-dialog-movement-block-toggle">
{{ t("game.ui.selection.edit_dialog.dialog.block_movement") }}
</label>
<div>
<input
id="vision-dialog-movement-block-toggle"
v-model="drawTool.state.blocksMovement"
type="checkbox"
:disabled="drawTool.state.selectedMode !== 'normal'"
Expand Down

0 comments on commit 6e20e3b

Please sign in to comment.