14.5: one View › Snap for all snapping
This commit is contained in:
14 files changed
+33
-43
No files matched your search
@@ -243,9 +243,8 @@ public:
|
||||
// The View menu's grid, shown from 800%.
|
||||
bool showsPixelGrid() const { return m_showsPixelGrid; }
|
||||
void setShowsPixelGrid(bool shows);
|
||||
// View > Snap: moves and crops line up with edges.
|
||||
bool snappingEnabled() const { return m_snappingEnabled; }
|
||||
void setSnappingEnabled(bool enabled);
|
||||
// Swift's alias of View › Snap: moves, crops, drawing.
|
||||
bool snappingEnabled() const { return m_snapEnabled; }
|
||||
// The Eyedropper's ring: the sampled colour over the original.
|
||||
bool showsSampleRing() const { return m_showsSampleRing; }
|
||||
void setShowsSampleRing(bool shows);
|
||||
@@ -345,7 +344,6 @@ private:
|
||||
std::optional<QUuid> m_renamingLayerID;
|
||||
std::optional<QString> m_projectPath;
|
||||
bool m_showsPixelGrid = ToolDefaults::boolean(QStringLiteral("pixelGrid"), true);
|
||||
bool m_snappingEnabled = true;
|
||||
// The layout grid starts off; guides show; rulers hide.
|
||||
bool m_showsGrid = ToolDefaults::boolean(QStringLiteral("grid"), false);
|
||||
LayoutGrid m_layoutGrid = LayoutGrid::stored();
|
||||
|
||||
Reference in new issue
Block a user