Display ° when moving sliders

Solves #1569
This commit is contained in:
Edward Firmo
2024-01-09 18:49:57 +01:00
parent b9c66a33a6
commit a9ef296fb2
26 changed files with 30 additions and 24 deletions

View File

@@ -104,7 +104,7 @@ Text tft_version
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text : 4.2beta.4
Text : 4.2beta.5
Max. Text Size : 9
Text esph_version

View File

@@ -166,7 +166,7 @@ Variable (string) temp_unit
Attributes
ID : 50
Scope : local
Text :
Text : °
Max. Text Size: 10
Variable (int32) temp_low_max
@@ -606,7 +606,6 @@ Slider climateslider
Events
Touch Release Event
active_slider.val=0
temp_number0.val=climateslider.val*temp_step.val
temp_number0.val+=temp_offset.val
va0.val=temp_number0.val/10
@@ -614,6 +613,8 @@ Slider climateslider
va0.val=temp_number0.val%10
covx va0.val,va1.txt,0,0
target_high.txt+="."+va1.txt
target_high.txt+=temp_unit.txt
active_slider.val=0
timer0.en=1
Button button_back