[jasper/world/studio] Fix tile drop to handle dropping to edges of selection
All checks were successful
Build / build (push) Successful in 3m9s
All checks were successful
Build / build (push) Successful in 3m9s
This commit is contained in:
@ -90,7 +90,7 @@ constexpr studio::Selection fbPtToTileAddr(
|
||||
[[nodiscard]]
|
||||
constexpr bool inside(auto const val, int const min, int const max) noexcept {
|
||||
auto const v = static_cast<int>(val);
|
||||
return v < max && v > min;
|
||||
return v <= max && v >= min;
|
||||
};
|
||||
|
||||
WorldEditorImGui::WorldEditorImGui(studio::StudioContext &sctx, ox::StringView path):
|
||||
|
Reference in New Issue
Block a user