Change default draw color to orange, plus small fixes

This commit is contained in:
Keavon Chambers
2021-05-08 15:16:59 -07:00
parent 34036e42ee
commit b91c416611
3 changed files with 5 additions and 5 deletions

View File

@@ -40,8 +40,8 @@
<ItemDivider />
<IconButton :size="24" title="Zoom Out"><ZoomOut /></IconButton>
<IconButton :size="24" title="Zoom In"><ZoomIn /></IconButton>
<IconButton :size="24" title="Zoom Out"><ZoomOut /></IconButton>
<IconButton :size="24" title="Zoom to 100%"><ZoomReset /></IconButton>
<NumberInput />
</div>
@@ -336,8 +336,8 @@ export default defineComponent({
window.addEventListener("keyup", (e: KeyboardEvent) => this.keyUp(e));
window.addEventListener("keydown", (e: KeyboardEvent) => this.keyDown(e));
// TODO: Implement actuall UI for chosing colors (this is completly temporary)
this.updatePrimaryColor({ r: 0.29, g: 0.52, b: 0.29, a: 0.6 });
// TODO: Implement an actual UI for chosing colors (this is completely temporary)
this.updatePrimaryColor({ r: 247 / 255, g: 76 / 255, b: 0 / 255, a: 0.6 });
},
data() {
return {

View File

@@ -9,7 +9,7 @@
<LayoutCol :class="'list'">
<div class="layer-row" v-for="layer in layers" :key="layer.path">
<div class="layer-visibility">
<IconButton @click="toggleLayerVisibility(layer)" :size="24" title="layer.visible ? 'Visible' : 'Hidden">
<IconButton @click="toggleLayerVisibility(layer)" :size="24" :title="layer.visible ? 'Visible' : 'Hidden'">
<EyeVisible v-if="layer.visible" />
<EyeHidden v-if="!layer.visible" />
</IconButton>