1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Fix hypertext in the mainmenu (#13731)

This commit is contained in:
rubenwardy 2023-08-13 13:28:33 +01:00 committed by GitHub
parent 526c5f2348
commit 137e4ce866
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 20 deletions

View file

@ -188,8 +188,9 @@ protected:
};
ParsedText m_text;
Client *m_client;
gui::IGUIEnvironment *m_environment;
Client *m_client; ///< null in the mainmenu
ISimpleTextureSource *m_tsrc;
gui::IGUIEnvironment *m_guienv;
s32 m_height;
s32 m_voffset;
std::vector<RectWithMargin> m_floating;
@ -216,7 +217,7 @@ public:
protected:
// GUI members
Client *m_client;
ISimpleTextureSource *m_tsrc;
GUIScrollBar *m_vscrollbar;
TextDrawer m_drawer;