mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-28 21:37:50 +02:00
More UI bugfix
This commit is contained in:
@ -1151,8 +1151,8 @@ namespace ImGui {
|
||||
int _right = right;
|
||||
left = std::clamp<int>(left, 0, dataWidth - 1);
|
||||
right = std::clamp<int>(right, 0, dataWidth - 1);
|
||||
if (left != _left) { leftClamped = true; }
|
||||
if (right != _right) { rightClamped = true; }
|
||||
leftClamped = (left != _left);
|
||||
rightClamped = (right != _right);
|
||||
|
||||
rectMin = ImVec2(widgetPos.x + 50 + left, widgetPos.y + 10);
|
||||
rectMax = ImVec2(widgetPos.x + 51 + right, widgetPos.y + fftHeight + 10);
|
||||
|
Reference in New Issue
Block a user