mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-17 20:10:23 +03:00
GUI: Split gui to interface, potentially new ui interface is possible
This commit is contained in:
@@ -23,8 +23,9 @@ void SavingWorldScreen::render(int mouseX, int mouseY, float f)
|
||||
{
|
||||
renderDirtBackground(0);
|
||||
|
||||
int x_width = int(Minecraft::width * Gui::InvGuiScale);
|
||||
int x_height = int(Minecraft::height * Gui::InvGuiScale);
|
||||
//! why not use the screen stuff
|
||||
int x_width = int(Minecraft::width * m_pMinecraft->m_pGui->scale);
|
||||
int x_height = int(Minecraft::height * m_pMinecraft->m_pGui->scale);
|
||||
int yPos = x_height / 2;
|
||||
|
||||
int width = m_pFont->width("Saving chunks");
|
||||
|
||||
Reference in New Issue
Block a user