mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-01 10:13:22 +00:00
This commit is contained in:
parent
0bdcdbfc49
commit
4df11ac1e3
@ -152,6 +152,12 @@ bool ToolLoopManager::releaseButton(const Pointer& pointer)
|
||||
if (isCanceled())
|
||||
return false;
|
||||
|
||||
if (m_toolLoop->getController()->isOnePoint() &&
|
||||
m_toolLoop->getInk()->isSelection() &&
|
||||
!m_toolLoop->getSrcImage()->bounds().contains(pointer.point())) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Stroke::Pt spritePoint = getSpriteStrokePt(pointer);
|
||||
bool res = m_toolLoop->getController()->releaseButton(m_stroke, spritePoint);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user