zzag added inline comments.
INLINE COMMENTS
> FullRepresentation.qml:439
> + // pointer motion vector.
> + if ((Math.abs(dx) + Math.abs(dy)) >
> Qt.styleHints.startDragDistance) {
> + if (tabBar.currentTab != button) {
I believe it's possible to reduce indentation. E.g.
if ((Math.abs(dx) + Math.abs(dy)) <= Qt.styleHints.startDragDistance) {
return;
}
if (tabBar.currentTab == button) {
oldPos = Qt.point(mouse.x, mouse.y);
return;
}
var tabBarPos = mapToItem(tabBar, oldPos.x, oldPos.y);
// ...
REPOSITORY
R119 Plasma Desktop
REVISION DETAIL
https://phabricator.kde.org/D13192
To: hein, ngraham, davidedmundson, rkflx, cfeck
Cc: zzag, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed,
jensreuterberg, abetts, sebas, apol, mart