mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-15 13:14:17 +01:00
Add tooltip to percentage selector and improve value drag range.
This commit is contained in:
parent
ed0ee6439a
commit
831908475c
1 changed files with 2 additions and 2 deletions
|
|
@ -165,10 +165,10 @@ public class CustomizeParameterDrawer(Configuration config, PaletteImport import
|
|||
|
||||
using (_ = ImRaii.Disabled(data.Locked))
|
||||
{
|
||||
if (ImGui.SliderFloat("##value", ref value, -1000f, 1000f, "%.2f"))
|
||||
if (ImGui.SliderFloat("##value", ref value, -100f, 200f, "%.2f"))
|
||||
data.ValueSetter(new CustomizeParameterValue(value / 100f));
|
||||
ImGuiUtil.HoverTooltip("You can control-click this to enter arbitrary values by hand instead of dragging.");
|
||||
}
|
||||
|
||||
DrawRevert(data);
|
||||
|
||||
DrawApplyAndLabel(data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue