mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 18:27:51 -06:00
Remove external dependency from SimulationViewMainComponent
Previously, panelTop had to be defined externally whenever SimulationViewMainComponent was used. I renamed it and set a default so the binding by a parent is optional. CURA-6853
This commit is contained in:
parent
f090450bba
commit
4148f56d2b
3 changed files with 15 additions and 5 deletions
|
@ -338,7 +338,6 @@ Item
|
|||
// set the slider position based on the lower value
|
||||
function setValue(value)
|
||||
{
|
||||
print("lower handle set value: " + value)
|
||||
// Normalize values between range, since using arrow keys will create out-of-the-range values
|
||||
value = sliderRoot.normalizeValue(value)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue