mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-09 16:43:00 +01:00
Oops, remove debug output
This commit is contained in:
parent
a348a4529d
commit
eb61b67dd1
@ -341,7 +341,6 @@ void OSDPretty::mouseMoveEvent(QMouseEvent* e) {
|
|||||||
|
|
||||||
// Snap to center
|
// Snap to center
|
||||||
int snap_x = geometry.center().x() - width() / 2;
|
int snap_x = geometry.center().x() - width() / 2;
|
||||||
qDebug() << snap_x << new_pos.x();
|
|
||||||
if (new_pos.x() > snap_x - kSnapProximity && new_pos.x() < snap_x + kSnapProximity) {
|
if (new_pos.x() > snap_x - kSnapProximity && new_pos.x() < snap_x + kSnapProximity) {
|
||||||
new_pos.setX(snap_x);
|
new_pos.setX(snap_x);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user