mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 06:21:50 +00:00
New World button margin fix
This commit is contained in:
parent
2bc539fae9
commit
eed251843b
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ Panel* create_new_world_panel(Engine* engine, PagesControl* menu) {
|
||||||
|
|
||||||
{
|
{
|
||||||
Button* button = new Button(L"Create World", vec4(10.0f));
|
Button* button = new Button(L"Create World", vec4(10.0f));
|
||||||
button->margin(vec4(0, 20, 0, 0));
|
button->margin(vec4(1, 20, 1, 1));
|
||||||
vec4 basecolor = worldNameInput->color();
|
vec4 basecolor = worldNameInput->color();
|
||||||
button->listenAction([=](GUI*) {
|
button->listenAction([=](GUI*) {
|
||||||
wstring name = worldNameInput->text();
|
wstring name = worldNameInput->text();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue