Refactor OverworldEditor copy functionality to use selected points
- Updated the `Copy` method in `OverworldEditor` to utilize selected points instead of tiles for copying tile16 IDs to the clipboard, enhancing the selection mechanism. - Improved the logic for determining the width and height of the selection based on the selected points, ensuring accurate tile copying. - Adjusted the `DrawSelectRect` method in `Canvas` to correctly calculate local map indices, refining the tile selection process. - Added a new configuration option in `Canvas` to control clamping behavior for local maps, providing more flexibility in canvas settings.
This commit is contained in:
@@ -252,6 +252,8 @@ endif()
|
||||
target_link_options(yaze_test PRIVATE /STACK:8388608) # 8MB stack
|
||||
elseif(MINGW)
|
||||
target_link_options(yaze_test PRIVATE -Wl,--stack,8388608)
|
||||
else()
|
||||
target_link_options(yaze_test PRIVATE -Wl,-w)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user