touch gui fix and changed some default settings
This commit is contained in:
parent
fc4d425dd6
commit
0b30425053
@ -484,7 +484,7 @@ void set_default_settings()
|
|||||||
settings->setDefault("emergequeue_limit_diskonly", "16");
|
settings->setDefault("emergequeue_limit_diskonly", "16");
|
||||||
settings->setDefault("emergequeue_limit_generate", "16");
|
settings->setDefault("emergequeue_limit_generate", "16");
|
||||||
settings->setDefault("max_block_generate_distance", "5");
|
settings->setDefault("max_block_generate_distance", "5");
|
||||||
settings->setDefault("enable_3d_clouds", "true");
|
settings->setDefault("enable_3d_clouds", "false");
|
||||||
settings->setDefault("fps_max_unfocused", "10");
|
settings->setDefault("fps_max_unfocused", "10");
|
||||||
settings->setDefault("sqlite_synchronous", "1");
|
settings->setDefault("sqlite_synchronous", "1");
|
||||||
settings->setDefault("map_compression_level_disk", "-1");
|
settings->setDefault("map_compression_level_disk", "-1");
|
||||||
|
@ -552,10 +552,10 @@ void TouchScreenGUI::init(ISimpleTextureSource *tsrc)
|
|||||||
|
|
||||||
m_rarecontrolsbar.init(m_texturesource, "rare_controls.png",
|
m_rarecontrolsbar.init(m_texturesource, "rare_controls.png",
|
||||||
rare_controls_starter_id,
|
rare_controls_starter_id,
|
||||||
v2s32(0.25 * button_size,
|
v2s32(1.25 * button_size,
|
||||||
m_screensize.Y - ((RARE_CONTROLS_BAR_Y_OFFSET + 1.0) * button_size)
|
m_screensize.Y - ((RARE_CONTROLS_BAR_Y_OFFSET + 1.0) * button_size)
|
||||||
+ (0.5 * button_size)),
|
+ (0.5 * button_size)),
|
||||||
v2s32(0.75 * button_size,
|
v2s32(1.75 * button_size,
|
||||||
m_screensize.Y - (RARE_CONTROLS_BAR_Y_OFFSET * button_size)
|
m_screensize.Y - (RARE_CONTROLS_BAR_Y_OFFSET * button_size)
|
||||||
+ (0.5 * button_size)),
|
+ (0.5 * button_size)),
|
||||||
AHBB_Dir_Left_Right, 2.0);
|
AHBB_Dir_Left_Right, 2.0);
|
||||||
|
Loading…
Reference in New Issue
Block a user