File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
app/server/static/components Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 160
160
v-bind:trigger-style ="{ width: '36px', height: '36px' }"
161
161
)
162
162
div.control
163
- a.button.random-color-button (
164
- v-on:click ="setColor(newLabel) "
163
+ a.button.random-color-button-edit (
164
+ v-on:click ="setEditColor "
165
165
)
166
166
span.icon.is-small
167
167
i.fas.fa-sync-alt
185
185
color : #404040 ;
186
186
border : none ;
187
187
}
188
+
189
+ .random-color-button-edit {
190
+ height : 36px ;
191
+ width : 36px ;
192
+ background-color : transparent ;
193
+ color : #404040 ;
194
+ border : none ;
195
+ }
188
196
</style >
189
197
190
198
<script >
@@ -235,6 +243,10 @@ export default {
235
243
label .text_color = textColor;
236
244
},
237
245
246
+ setEditColor () {
247
+ this .setColor (this .editedLabel );
248
+ },
249
+
238
250
shortcutKey (label ) {
239
251
let shortcut = label .suffix_key ;
240
252
if (label .prefix_key ) {
You can’t perform that action at this time.
0 commit comments