mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-16 05:42:32 +00:00
Don't show edge layers when we draw
If we have the View > Show > Layer Edges option enabled, the active layer edges are always visible, and it is confusing when we're drawing because we temporarily modify the cel position/bounds. It's better if we hide the edges in the DrawingState. Regression introduced in 31bf651d8b8284d84fed14ad9b4e1eeaa6df40eb
This commit is contained in:
parent
31bf651d8b
commit
cef7e7eed1
@ -47,6 +47,13 @@ namespace app {
|
||||
// already drawing (viewing the real trace).
|
||||
virtual bool requireBrushPreview() override { return false; }
|
||||
|
||||
// Don't show layer edges when we're drawing as the cel
|
||||
// position/bounds is modified and the feedback is
|
||||
// confusing. (This is the original behavior, maybe in the future
|
||||
// we could fix this in other way and show how the edge of the cel
|
||||
// is expanded dynamically while we paint.)
|
||||
virtual bool allowLayerEdges() override { return false; }
|
||||
|
||||
virtual bool getGridBounds(Editor* editor, gfx::Rect& gridBounds) override;
|
||||
|
||||
void initToolLoop(Editor* editor,
|
||||
|
Loading…
x
Reference in New Issue
Block a user