Skip to content

Commit

Permalink
no more animPath text field
Browse files Browse the repository at this point in the history
  • Loading branch information
lemz1 committed Nov 1, 2024
1 parent 9bf898a commit 2ebd681
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[submodule "assets"]
path = assets
url = https://github.com/JustKolosaki/FunkinAssetsContrib/tree/char-creator-ui
url = https://github.com/FunkinCrew/funkin.assets
[submodule "art"]
path = art
url = https://github.com/FunkinCrew/Funkin.art
2 changes: 1 addition & 1 deletion assets
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ class AddAnimDialog extends DefaultPageDialog
linkedChar = char;

// dialog callback bs
charAnimPath.disabled = (char.renderType != "multisparrow");
charAnimPath.tooltip = (char.renderType == "multisparrow" ? null : "Only Available for Multi-Sparrow Characters.");
charAnimFrames.disabled = charAnimPath.disabled = charAnimFlipX.disabled = charAnimFlipY.disabled = charAnimFramerate.disabled = (char.renderType == "atlas");
charAnimFrames.tooltip = charAnimPath.tooltip = charAnimFlipX.tooltip = charAnimFlipY.tooltip = charAnimFramerate.tooltip = (char.renderType == "atlas" ? "Unavailable for Atlas Characters." : null);
charAnimFrames.disabled = charAnimFlipX.disabled = charAnimFlipY.disabled = charAnimFramerate.disabled = (char.renderType == "atlas");
charAnimFrames.tooltip = charAnimFlipX.tooltip = charAnimFlipY.tooltip = charAnimFramerate.tooltip = (char.renderType == "atlas" ? "Unavailable for Atlas Characters." : null);

if (char.renderType != "atlas")
{
Expand All @@ -30,7 +28,7 @@ class AddAnimDialog extends DefaultPageDialog
charAnimDropdown.onChange = function(_) {
if (charAnimDropdown.selectedIndex == -1) // delele this shiz
{
charAnimName.text = charAnimFrames.text = charAnimPath.text = "";
charAnimName.text = charAnimFrames.text = "";
charAnimLooped.selected = charAnimFlipX.selected = charAnimFlipY.selected = false;
charAnimFramerate.pos = 24;
charAnimOffsetX.pos = charAnimOffsetY.pos = 0;
Expand Down

0 comments on commit 2ebd681

Please sign in to comment.