Skip to content

Commit

Permalink
Fixed float edit problem (value member returns incorrect value)
Browse files Browse the repository at this point in the history
  • Loading branch information
RodZill4 committed Aug 26, 2024
1 parent c2ac2bb commit 6da1ad6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions material_maker/widgets/float_edit/float_edit.gd
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ extends Container

var float_value: float = 0.5
@export var value: float = 0.5 :
get:
return float_value
set(new_value):
set_value(new_value)

Expand Down

0 comments on commit 6da1ad6

Please sign in to comment.