-
-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix minimap issues with non-1.0 zoom
- Replace `widget.game.visibles()` with `widget.game.query()` to display all game components, not just those within the camera view - Adjust `canvas.translate` logic in `MiniMapCanvas` to center the camera position on the minimap, even with non-1.0 zoom levels - These changes address issues where the minimap was not properly aligned with the camera position and components outside the camera view were not displayed when using a zoom value other than 1.0
- Loading branch information
Showing
4 changed files
with
20 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters