[nostalgia/core/studio/tilesheeteditor] Fix Fill command to properly end
All checks were successful
Build / build (push) Successful in 2m32s
All checks were successful
Build / build (push) Successful in 2m32s
This commit is contained in:
parent
eb498ca557
commit
3ead305f51
@ -87,12 +87,12 @@ void TileSheetEditorView::clickFill(ox::Vec2 const&paneSize, ox::Vec2 const&clic
|
|||||||
void TileSheetEditorView::releaseMouseButton(TileSheetTool tool) noexcept {
|
void TileSheetEditorView::releaseMouseButton(TileSheetTool tool) noexcept {
|
||||||
switch (tool) {
|
switch (tool) {
|
||||||
case TileSheetTool::Draw:
|
case TileSheetTool::Draw:
|
||||||
|
case TileSheetTool::Fill:
|
||||||
m_model.endDrawCommand();
|
m_model.endDrawCommand();
|
||||||
break;
|
break;
|
||||||
case TileSheetTool::Select:
|
case TileSheetTool::Select:
|
||||||
m_model.completeSelection();
|
m_model.completeSelection();
|
||||||
break;
|
break;
|
||||||
case TileSheetTool::Fill:
|
|
||||||
case TileSheetTool::None:
|
case TileSheetTool::None:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user