mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 19:35:56 +08:00
Merge pull request #4170 from Ultimaker/focus_layer_slider
CURA-5613 Set the focus in the upper handle in the layer view
This commit is contained in:
commit
e582886e16
@ -25,10 +25,6 @@ UM.PointingRectangle {
|
|||||||
width: valueLabel.width + UM.Theme.getSize("default_margin").width
|
width: valueLabel.width + UM.Theme.getSize("default_margin").width
|
||||||
visible: false
|
visible: false
|
||||||
|
|
||||||
// make sure the text field is focussed when pressing the parent handle
|
|
||||||
// needed to connect the key bindings when switching active handle
|
|
||||||
onVisibleChanged: if (visible) valueLabel.forceActiveFocus()
|
|
||||||
|
|
||||||
color: UM.Theme.getColor("tool_panel_background")
|
color: UM.Theme.getColor("tool_panel_background")
|
||||||
borderColor: UM.Theme.getColor("lining")
|
borderColor: UM.Theme.getColor("lining")
|
||||||
borderWidth: UM.Theme.getSize("default_lining").width
|
borderWidth: UM.Theme.getSize("default_lining").width
|
||||||
|
Loading…
x
Reference in New Issue
Block a user