[nostalgia/scene/studio] Fix vertical resizing to crop from bottom of view
This commit is contained in:
parent
f4a93d8419
commit
d5a1e11ec5
@ -49,8 +49,8 @@ void SceneEditorImGui::draw(turbine::Context*) noexcept {
|
||||
ImGui::Image(
|
||||
std::bit_cast<void*>(buffId),
|
||||
paneSize,
|
||||
ImVec2(0, yScale),
|
||||
ImVec2(xScale, 0));
|
||||
ImVec2(0, 1),
|
||||
ImVec2(xScale, 1 - yScale));
|
||||
}
|
||||
|
||||
void SceneEditorImGui::onActivated() noexcept {
|
||||
|
Loading…
x
Reference in New Issue
Block a user