mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
FIX: param page scroll field position
Change-Id: Iefb363073d79b3f69022f555e99193a1ba2a2e07
This commit is contained in:
parent
282c785304
commit
3f924b79d6
1 changed files with 1 additions and 1 deletions
|
@ -496,7 +496,7 @@ bool OG_CustomCtrl::update_visibility(ConfigOptionMode mode)
|
||||||
// BBS: call by Tab/Page
|
// BBS: call by Tab/Page
|
||||||
void OG_CustomCtrl::fixup_items_positions()
|
void OG_CustomCtrl::fixup_items_positions()
|
||||||
{
|
{
|
||||||
if (GetParent() == nullptr || GetPosition().y < GetParent()->GetSize().y)
|
if (GetParent() == nullptr || GetPosition().y + GetSize().y < GetParent()->GetSize().y)
|
||||||
return;
|
return;
|
||||||
for (CtrlLine& line : ctrl_lines) {
|
for (CtrlLine& line : ctrl_lines) {
|
||||||
line.correct_items_positions();
|
line.correct_items_positions();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue