mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2026-02-19 22:17:44 +01:00
Simple changes for 6.1
This commit is contained in:
parent
b141da40b0
commit
e6e033bb8b
8 changed files with 539 additions and 529 deletions
|
|
@ -140,7 +140,7 @@ namespace Glamourer.Gui
|
|||
ImGui.SameLine();
|
||||
if (InputInt($"##text_{id}", ref current, 1, count))
|
||||
{
|
||||
customization[id] = set.Data(id, current).Value;
|
||||
customization[id] = (byte) current;
|
||||
ret = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -277,8 +277,9 @@ namespace Glamourer.Gui
|
|||
var label = $"##fsPopup{child.FullName()}";
|
||||
if (ImGui.BeginPopup(label))
|
||||
{
|
||||
if (ImGui.MenuItem("Delete"))
|
||||
if (ImGui.MenuItem("Delete") && ImGui.GetIO().KeyCtrl && ImGui.GetIO().KeyShift)
|
||||
_designs.DeleteAllChildren(child, false);
|
||||
ImGuiCustom.HoverTooltip("Hold Control and Shift to delete.");
|
||||
|
||||
RenameChildInput(child);
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ namespace Glamourer.Gui
|
|||
ret |= DrawCheckMark("Hat Visible", save.HatState, v =>
|
||||
{
|
||||
save.HatState = v;
|
||||
player?.SetHatHidden(!v);
|
||||
player?.SetHatVisible(v);
|
||||
});
|
||||
|
||||
ret |= DrawCheckMark("Weapon Visible", save.WeaponState, v =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue