mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:35:58 +08:00
Show the slider in the middle when there is only one quality profile available.
Contributes to CURA-6121.
This commit is contained in:
parent
a58c3997d4
commit
fceffce56e
@ -137,7 +137,7 @@ Item
|
|||||||
if (availableMin == -1 || (availableMin == 0 && availableMax == 0))
|
if (availableMin == -1 || (availableMin == 0 && availableMax == 0))
|
||||||
{
|
{
|
||||||
// Do not use Math.round otherwise the tickmarks won't be aligned
|
// Do not use Math.round otherwise the tickmarks won't be aligned
|
||||||
qualityModel.qualitySliderMarginRight = settingsColumnWidth
|
qualityModel.qualitySliderMarginRight = settingsColumnWidth / 2
|
||||||
}
|
}
|
||||||
else if (availableMin == availableMax)
|
else if (availableMin == availableMax)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user