mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-23 21:16:54 +01:00
Merge pull request #41 from Calinou/size-use-multiplication-symbol
Use the Unicode multiplication symbol for size OptionButtons
This commit is contained in:
commit
3017f0d0fa
@ -126,7 +126,7 @@ func create_parameter_control(p : Dictionary):
|
||||
control = OptionButton.new()
|
||||
for i in range(p.first, p.last+1):
|
||||
var s = pow(2, i)
|
||||
control.add_item("%dx%d" % [ s, s ])
|
||||
control.add_item("%d×%d" % [ s, s ])
|
||||
control.selected = 0 if !p.has("default") else p.default-p.first
|
||||
elif p.type == "enum":
|
||||
control = OptionButton.new()
|
||||
|
Loading…
Reference in New Issue
Block a user