D6392: [Panel Config] Scrolling over size button increments size by 2 and shows current thickness
Chris Holland
noreply at phabricator.kde.org
Sat Jan 6 05:03:56 UTC 2018
Zren updated this revision to Diff 24808.
Zren retitled this revision from "[Panel Config] Scrolling over size button increments size by 1 and shows current thickness" to "[Panel Config] Scrolling over size button increments size by 2 and shows current thickness".
Zren edited the summary of this revision.
Zren added a comment.
Support touchpad "mousewheel" which is pixel perfect based off plasma-pa's code.
Now that I'm submitting this... I could probably also use this instead of the while loops...
var deltaThickness = wheelDelta / 120
deltaThickness = deltaThickness < 0 ? Math.ceil(deltaThickness) : Math.floor(deltaThickness)
wheelDelta -= deltaThickness * 120
Meh. The loop pattern is tested an works (in plasma-pa too).
REPOSITORY
R119 Plasma Desktop
CHANGES SINCE LAST UPDATE
https://phabricator.kde.org/D6392?vs=15888&id=24808
REVISION DETAIL
https://phabricator.kde.org/D6392
AFFECTED FILES
desktoppackage/contents/configuration/panelconfiguration/SizeHandle.qml
To: Zren, #plasma
Cc: davidedmundson, broulik, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180106/feb46462/attachment.html>
More information about the Plasma-devel
mailing list