From 26c7e98e3d87446acbc0c30b3c0ea8eb8bc1f6c5 Mon Sep 17 00:00:00 2001 From: Ezhh Date: Sun, 17 Dec 2017 04:38:54 +0000 Subject: [PATCH] Adjust default console height #6797 --- builtin/settingtypes.txt | 2 +- minetest.conf.example | 2 +- src/defaultsettings.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index 695c0b1d6..0d5978911 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -616,7 +616,7 @@ fall_bobbing_amount (Fall bobbing factor) float 0.0 3d_mode (3D mode) enum none none,anaglyph,interlaced,topbottom,sidebyside,pageflip # In-game chat console height, between 0.1 (10%) and 1.0 (100%). -console_height (Console height) float 1.0 0.1 1.0 +console_height (Console height) float 0.6 0.1 1.0 # In-game chat console background color (R,G,B). console_color (Console color) string (0,0,0) diff --git a/minetest.conf.example b/minetest.conf.example index 357d677f4..a112ce0e6 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -701,7 +701,7 @@ # In-game chat console height, between 0.1 (10%) and 1.0 (100%). # type: float min: 0.1 max: 1 -# console_height = 1.0 +# console_height = 0.6 # In-game chat console background color (R,G,B). # type: string diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index d4dbb5481..3bd4f4ac6 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -180,7 +180,7 @@ void set_default_settings(Settings *settings) settings->setDefault("cloud_radius", "12"); settings->setDefault("menu_clouds", "true"); settings->setDefault("opaque_water", "false"); - settings->setDefault("console_height", "1.0"); + settings->setDefault("console_height", "0.6"); settings->setDefault("console_color", "(0,0,0)"); settings->setDefault("console_alpha", "200"); settings->setDefault("formspec_fullscreen_bg_color", "(0,0,0)"); -- 2.25.1