[nostalgia/core/studio/tilesheeteditor] Fix Fill command to properly end
All checks were successful
Build / build (push) Successful in 2m32s

This commit is contained in:
Gary Talent 2024-08-30 00:24:59 -05:00
parent eb498ca557
commit 3ead305f51

View File

@ -87,12 +87,12 @@ void TileSheetEditorView::clickFill(ox::Vec2 const&paneSize, ox::Vec2 const&clic
void TileSheetEditorView::releaseMouseButton(TileSheetTool tool) noexcept {
switch (tool) {
case TileSheetTool::Draw:
case TileSheetTool::Fill:
m_model.endDrawCommand();
break;
case TileSheetTool::Select:
m_model.completeSelection();
break;
case TileSheetTool::Fill:
case TileSheetTool::None:
break;
}