diff --git a/src/views/NewHome.vue b/src/views/NewHome.vue index 72ac8cf..5e4ffa5 100644 --- a/src/views/NewHome.vue +++ b/src/views/NewHome.vue @@ -17,7 +17,7 @@ Colors
-
{{i + 1}}
+
{{(i + 1) % 10}}
@@ -49,7 +49,7 @@ export default class NewHome extends KeyHandler created(): void { this.keybinds.Escape = _ => this.pickerColor = '' - range(10).forEach(i => this.keybinds[i.toString()] = _ => editor.color = this.colors[i]) + range(10).forEach(i => this.keybinds[((i + 1) % 10)+''] = _ => editor.color = this.colors[i]) } mounted(): void @@ -82,6 +82,7 @@ export default class NewHome extends KeyHandler #editor-controls position: absolute z-index: 2 + user-select: none // Positioning top: 20px