add cursor visibility mode
This commit is contained in:
@@ -183,6 +183,7 @@ void NodePanelStroke::init_controls()
|
||||
tick->set_image("data/ui/popup-tick.png");
|
||||
float hh = App::I->presets->m_container->m_children.size() > 10 ? App::I->height / App::I->zoom * .75f : 400.f;
|
||||
App::I->presets->SetHeight(glm::max(hh, 400.f));
|
||||
App::I->presets->SetWidth(300);
|
||||
root()->update();
|
||||
if ((pos.y + App::I->presets->m_size.y) > screen.y)
|
||||
pos.y = screen.y - App::I->presets->m_size.y;
|
||||
|
||||
Reference in New Issue
Block a user