UI: Show spacing helpers in preview

This shows distance between sides of preview and edges of sources.
This will allow users to more easily align sources.

Co-authored-by: Palakis <contact@slepin.fr>
This commit is contained in:
Clayton Groeneveld
2022-07-30 19:41:18 -07:00
committed by Jim
co-authored by Palakis
parent 728d919bde
commit 2d6a9c9cc1
8 changed files with 339 additions and 0 deletions
+3
View File
@@ -632,6 +632,9 @@ private:
QColor GetCropColor() const;
QColor GetHoverColor() const;
void UpdatePreviewSpacingHelpers();
bool drawSpacingHelpers = true;
public slots:
void DeferSaveBegin();
void DeferSaveEnd();