disable exceptions in visual studio, use xK notation for resolution, upgrade up to 32K resolution, mask resolution not doubled anymore, transform interactive controls to move, scale and rotate the selection
This commit is contained in:
@@ -1010,7 +1010,7 @@ void ui::Canvas::resize(int width, int height)
|
||||
}
|
||||
for (auto& l : m_layers)
|
||||
l.resize(width, height);
|
||||
m_smask.create(width*2, height*2, "mask");
|
||||
m_smask.create(width, height, "mask");
|
||||
m_unsaved = true;
|
||||
}
|
||||
bool ui::Canvas::create(int width, int height)
|
||||
@@ -1046,7 +1046,7 @@ bool ui::Canvas::create(int width, int height)
|
||||
{
|
||||
l.create(width, height, "");
|
||||
}
|
||||
m_smask.create(width*2, height*2, "mask");
|
||||
m_smask.create(width, height, "mask");
|
||||
//m_smask.clear({1, 1, 1, 1});
|
||||
m_unsaved = true;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user