Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Formatting.

Emmet O'Neill8d173ab2e562
diff --git a/libs/ui/kis_selection_actions_panel.cpp b/libs/ui/kis_selection_actions_panel.cpp
index d3dad650ef..f671dd4d38 100644
--- a/libs/ui/kis_selection_actions_panel.cpp
+++ b/libs/ui/kis_selection_actions_panel.cpp
@@ -110,8 +110,8 @@ void KisSelectionActionsPanel::drawDecoration(QPainter &gc,
QPointF widgetBottomCenter = converter->imageToWidget(
bottomCenter); // converts current selection's QPointF into canvasWidget's QPointF space
- widgetBottomCenter.setX(widgetBottomCenter.x()
- - (d->m_actionBarWidth / 2)); // centers toolbar midpoint with the selection center
+
+ widgetBottomCenter.setX(widgetBottomCenter.x() - (d->m_actionBarWidth / 2)); // centers toolbar midpoint with the selection center
widgetBottomCenter.setY(widgetBottomCenter.y() + BUFFER_SPACE);
d->m_dragRectPosition = widgetBottomCenter.toPoint();