mirror of
https://github.com/KDE/latte-dock.git
synced 2025-02-03 09:47:22 +03:00
visual zoom factor to percentage from decimal
This commit is contained in:
parent
3e6beb89ff
commit
cbcd344e90
@ -148,7 +148,8 @@ PlasmaComponents.Page{
|
|||||||
|
|
||||||
PlasmaComponents.Label{
|
PlasmaComponents.Label{
|
||||||
enabled: showBackground.checked
|
enabled: showBackground.checked
|
||||||
text: " "+Number(zoomSlider.value).toFixed(2)
|
//text: " "+Number(zoomSlider.value).toFixed(2)
|
||||||
|
text: " "+Number((zoomSlider.value*100)-100).toFixed(0)+"%"
|
||||||
|
|
||||||
Layout.minimumWidth: theme.mSize(theme.defaultFont).width * 4
|
Layout.minimumWidth: theme.mSize(theme.defaultFont).width * 4
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user