mirror of
https://github.com/CrispyPin/ovr-utils.git
synced 2024-11-25 00:30:25 +01:00
clean up size slider
This commit is contained in:
parent
d14e90bb3c
commit
c6298484a1
5 changed files with 6 additions and 5 deletions
|
@ -31,4 +31,4 @@ process/invert_color=false
|
|||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=10.0
|
||||
svg/scale=16.0
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -115,7 +115,7 @@ icon = ExtResource( 4 )
|
|||
anchor_top = -0.016
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = -0.016
|
||||
margin_top = -464.944
|
||||
margin_top = -448.944
|
||||
margin_bottom = 0.0560002
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
|
@ -124,12 +124,12 @@ __meta__ = {
|
|||
[node name="SizeSlider" type="VSlider" parent="MoreOptions/Container/List/SetSize/PanelContainer"]
|
||||
margin_left = 8.0
|
||||
margin_top = 8.0
|
||||
margin_right = 108.0
|
||||
margin_bottom = 457.0
|
||||
margin_right = 168.0
|
||||
margin_bottom = 441.0
|
||||
min_value = 0.1
|
||||
max_value = 1.0
|
||||
step = 0.05
|
||||
value = 0.1
|
||||
value = 0.4
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@ var overlay
|
|||
func _ready() -> void:
|
||||
overlay = OverlayManager.get_node(overlay_name)
|
||||
$MoreOptions/Container/List/SetSize/PanelContainer.visible = false
|
||||
$MoreOptions/Container/List/SetSize/PanelContainer/SizeSlider.value = Settings.s.overlays[overlay_name].width
|
||||
$MoreOptions.visible = false
|
||||
$BasicOptions/Label.text = overlay_name
|
||||
name = overlay_name
|
||||
|
|
Loading…
Reference in a new issue