mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-08 23:10:44 +02:00
fix options menu crash
This commit is contained in:
@@ -228,10 +228,6 @@ OptionsView::OptionsView():
|
|||||||
AddComponent(tempLabel);
|
AddComponent(tempLabel);
|
||||||
AddComponent(showAvatars);
|
AddComponent(showAvatars);
|
||||||
|
|
||||||
tempLabel = new ui::Label(ui::Point(showAvatars->Position.X+showAvatars->Size.X+3, depthTextbox->Position.Y), ui::Point(Size.X-28, 16), "\bg- Change the depth of the 3D anaglyph effect");
|
|
||||||
tempLabel->Appearance.HorizontalAlign = ui::Appearance::AlignLeft; tempLabel->Appearance.VerticalAlign = ui::Appearance::AlignMiddle;
|
|
||||||
AddComponent(tempLabel);
|
|
||||||
|
|
||||||
class DataFolderAction: public ui::ButtonAction
|
class DataFolderAction: public ui::ButtonAction
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@@ -23,7 +23,6 @@ class OptionsView: public ui::Window {
|
|||||||
ui::Checkbox * fullscreen;
|
ui::Checkbox * fullscreen;
|
||||||
ui::Checkbox * fastquit;
|
ui::Checkbox * fastquit;
|
||||||
ui::Checkbox * showAvatars;
|
ui::Checkbox * showAvatars;
|
||||||
ui::Textbox * depthTextbox;
|
|
||||||
public:
|
public:
|
||||||
OptionsView();
|
OptionsView();
|
||||||
void NotifySettingsChanged(OptionsModel * sender);
|
void NotifySettingsChanged(OptionsModel * sender);
|
||||||
|
Reference in New Issue
Block a user