Skip to content

Commit

Permalink
Fix bug where fill tool would use the wrong map graphic
Browse files Browse the repository at this point in the history
  • Loading branch information
Cirras committed Jun 30, 2023
1 parent 9fe0fce commit 66dff33
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Fix bug where fill tool would use the wrong map graphic.

## [1.1.0] - 2023-06-29

### Added
Expand Down
6 changes: 1 addition & 5 deletions src/core/tools/fill-tool.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ import { Tool } from "./tool";

export class FillTool extends Tool {
handleLeftPointerDown(mapEditor) {
mapEditor.doFillCommand(
mapEditor.currentPos.x,
mapEditor.currentPos.y,
mapEditor.selectedDrawID
);
mapEditor.doFillCommand(mapEditor.selectedDrawID);
}
}

0 comments on commit 66dff33

Please sign in to comment.