]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
MenuQC: Sensitivity slider: cleaner solution to hide label
authorFreddy <schro.sb@gmail.com>
Fri, 12 May 2023 16:20:55 +0000 (18:20 +0200)
committerFreddy <schro.sb@gmail.com>
Fri, 12 May 2023 16:20:55 +0000 (18:20 +0200)
qcsrc/menu/xonotic/dialog_settings_input.qc

index ac03e625bbe8cbb27243d79f7e90a9a4060d3786..4a4ef243870828714ec3e13536711605c7b9191b 100644 (file)
@@ -82,11 +82,10 @@ void XonoticInputSettingsTab_fill(entity me)
        me.TR(me);
                entity sensitivitySlider;
                me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Sensitivity:")));
-               me.TD(me, 1, 1.5, e = makeXonoticSlider_T(0.1, 9.9, 0.1, "sensitivity",
+               me.TD(me, 1, 1, e = makeXonoticSlider_T(0.1, 9.9, 0.1, "sensitivity",
                        _("Mouse speed multiplier")));
                        sensitivitySlider = e;
-                       e.fontSize = 0;
-                       me.currentColumn -= 0.35;
+                       e.textSpace = 0;
                me.TD(me, 1, 1, e = makeXonoticInputBox_T(0, "sensitivity",
                        _("Mouse speed multiplier")));
                        e.saveImmediately = 1;