fix shaders for the transform tool
This commit is contained in:
@@ -34,7 +34,7 @@ void NodeDialogResize::init_controls()
|
||||
text = find<NodeText>("current-res");
|
||||
resolution = ui::Canvas::I->m_width;
|
||||
static char txt[128];
|
||||
sprintf(txt, "Current: %s", App::I.res_to_string(resolution));
|
||||
sprintf(txt, "Current: %s", App::I.res_to_string(resolution).c_str());
|
||||
text->set_text(txt);
|
||||
btn_cancel->on_click = [this](Node*) {
|
||||
destroy();
|
||||
|
||||
Reference in New Issue
Block a user