From c1d75f12b4f9bddd0bf4e4381cfc72f9212428ef Mon Sep 17 00:00:00 2001 From: Signal Linden Date: Thu, 6 Jan 2022 16:25:39 -0800 Subject: SL-15741: Add pre-commit configuration --- .pre-commit-config.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000000..6d296d7a24 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,17 @@ +repos: + - repo: https://bitbucket.org/lindenlab/git-hooks.git + rev: v1.0.0-beta2 + hooks: + - id: opensource-license + - id: jira-issue + - id: llsd + - id: no-trigraphs + - id: copyright + - id: end-of-file + files: \.(cpp|c|h|py|glsl|cmake|txt)$ + exclude: language.txt + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v2.5.0 + hooks: + - id: check-xml + - id: mixed-line-ending -- cgit v1.2.3 From a4d80a5fc3b01aef53f20d07d9b4965b009e7504 Mon Sep 17 00:00:00 2001 From: Cosmic Linden Date: Thu, 13 Jan 2022 17:56:04 -0800 Subject: SL-16862: Add comment that min_val for zoom_slider is hardcoded min_val for zoom slider is hardcoded for performance reasons. Changing its value in the slider XML element will have no effect. Note that larger values of min_val, if allowed, would most likely be safe, however that would reduce how far you can zoom out. See: LLFloaterWorldMap::adjustZoomSliderBounds --- indra/newview/skins/default/xui/en/floater_world_map.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/newview/skins/default/xui/en/floater_world_map.xml b/indra/newview/skins/default/xui/en/floater_world_map.xml index 83407069d2..d7e4b88a21 100644 --- a/indra/newview/skins/default/xui/en/floater_world_map.xml +++ b/indra/newview/skins/default/xui/en/floater_world_map.xml @@ -677,6 +677,7 @@ name="zoom_icon" top_pad="7" width="16" > + Date: Wed, 19 Jan 2022 13:49:04 -0800 Subject: SL-16862: Adjust max zoom-in level on world map to match max zoom-in on minimap --- indra/newview/skins/default/xui/en/floater_world_map.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/skins/default/xui/en/floater_world_map.xml b/indra/newview/skins/default/xui/en/floater_world_map.xml index d7e4b88a21..eb633e50e7 100644 --- a/indra/newview/skins/default/xui/en/floater_world_map.xml +++ b/indra/newview/skins/default/xui/en/floater_world_map.xml @@ -685,7 +685,7 @@ initial_value="-2" left_pad="0" layout="topleft" - max_val="0" + max_val="4" min_val="-8" name="zoom slider" show_text="false" -- cgit v1.2.3