mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
Enable chat clickable weblinks by default (#12115)
Co-authored-by: rubenwardy <rw@rubenwardy.com>
This commit is contained in:
parent
4e1de06782
commit
45d318a773
@ -988,7 +988,7 @@ mute_sound (Mute sound) bool false
|
|||||||
[Client]
|
[Client]
|
||||||
|
|
||||||
# Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console output.
|
# Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console output.
|
||||||
clickable_chat_weblinks (Chat weblinks) bool false
|
clickable_chat_weblinks (Chat weblinks) bool true
|
||||||
|
|
||||||
# Optional override for chat weblink color.
|
# Optional override for chat weblink color.
|
||||||
chat_weblink_color (Weblink color) string
|
chat_weblink_color (Weblink color) string
|
||||||
|
@ -1176,7 +1176,7 @@
|
|||||||
|
|
||||||
# Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console output.
|
# Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console output.
|
||||||
# type: bool
|
# type: bool
|
||||||
# clickable_chat_weblinks = false
|
# clickable_chat_weblinks = true
|
||||||
|
|
||||||
# Optional override for chat weblink color.
|
# Optional override for chat weblink color.
|
||||||
# type: string
|
# type: string
|
||||||
|
@ -65,7 +65,6 @@ void set_default_settings()
|
|||||||
settings->setDefault("max_out_chat_queue_size", "20");
|
settings->setDefault("max_out_chat_queue_size", "20");
|
||||||
settings->setDefault("pause_on_lost_focus", "false");
|
settings->setDefault("pause_on_lost_focus", "false");
|
||||||
settings->setDefault("enable_register_confirmation", "true");
|
settings->setDefault("enable_register_confirmation", "true");
|
||||||
settings->setDefault("clickable_chat_weblinks", "false");
|
|
||||||
settings->setDefault("chat_weblink_color", "#8888FF");
|
settings->setDefault("chat_weblink_color", "#8888FF");
|
||||||
|
|
||||||
// Keymap
|
// Keymap
|
||||||
@ -465,6 +464,9 @@ void set_default_settings()
|
|||||||
settings->setDefault("touchscreen_threshold","20");
|
settings->setDefault("touchscreen_threshold","20");
|
||||||
settings->setDefault("fixed_virtual_joystick", "false");
|
settings->setDefault("fixed_virtual_joystick", "false");
|
||||||
settings->setDefault("virtual_joystick_triggers_aux1", "false");
|
settings->setDefault("virtual_joystick_triggers_aux1", "false");
|
||||||
|
settings->setDefault("clickable_chat_weblinks", "false");
|
||||||
|
#else
|
||||||
|
settings->setDefault("clickable_chat_weblinks", "true");
|
||||||
#endif
|
#endif
|
||||||
// Altered settings for Android
|
// Altered settings for Android
|
||||||
#ifdef __ANDROID__
|
#ifdef __ANDROID__
|
||||||
|
Loading…
Reference in New Issue
Block a user