Cosmetics fade remove of sidebar
This commit is contained in:
@@ -38,20 +38,20 @@ public class CloakMenu extends SaturnScreen {
|
|||||||
if (player != null) {
|
if (player != null) {
|
||||||
// for (String cloak : Cloaks.availableCloaks) {
|
// for (String cloak : Cloaks.availableCloaks) {
|
||||||
|
|
||||||
// stagger.draw(
|
// stagger.draw(
|
||||||
// new CosmeticPreview(
|
// new CosmeticPreview(
|
||||||
// cloak == player.cloak,
|
// cloak == player.cloak,
|
||||||
// Textures.getCloakPreview(cloak),
|
// Textures.getCloakPreview(cloak),
|
||||||
// () -> Cloaks.setCloak(cloak))
|
// () -> Cloaks.setCloak(cloak))
|
||||||
// .position((50 + g) * col, (111 + g) * row)
|
// .position((50 + g) * col, (111 + g) * row)
|
||||||
// .animation(new SlideY(AnimationConfig.cosmeticsMenu, 14)));
|
// .animation(new SlideY(AnimationConfig.cosmeticsMenu, 14)));
|
||||||
|
|
||||||
// if (col == 5) {
|
// if (col == 5) {
|
||||||
// col = 0;
|
// col = 0;
|
||||||
// row++;
|
// row++;
|
||||||
// } else {
|
// } else {
|
||||||
// col++;
|
// col++;
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -69,8 +69,7 @@ public class CloakMenu extends SaturnScreen {
|
|||||||
.animation(new Fade(500)));
|
.animation(new Fade(500)));
|
||||||
|
|
||||||
draw(new Sidebar(2, this.provider::close)
|
draw(new Sidebar(2, this.provider::close)
|
||||||
.centerOffset(width, height, -(scrollWidth / 2 + 20), 0)
|
.centerOffset(width, height, -(scrollWidth / 2 + 20), 0));
|
||||||
.animation(new Fade(400)));
|
|
||||||
|
|
||||||
draw(new TabMenu(0,
|
draw(new TabMenu(0,
|
||||||
new TabMenuComponent(Textures.CLOAK, () -> {
|
new TabMenuComponent(Textures.CLOAK, () -> {
|
||||||
|
|||||||
@@ -70,8 +70,7 @@ public class HatMenu extends SaturnScreen {
|
|||||||
.animation(new Fade(500)));
|
.animation(new Fade(500)));
|
||||||
|
|
||||||
draw(new Sidebar(2, this.provider::close)
|
draw(new Sidebar(2, this.provider::close)
|
||||||
.centerOffset(width, height, -(scrollWidth / 2 + 20), 0)
|
.centerOffset(width, height, -(scrollWidth / 2 + 20), 0));
|
||||||
.animation(new Fade(400)));
|
|
||||||
|
|
||||||
draw(new TabMenu(1,
|
draw(new TabMenu(1,
|
||||||
new TabMenuComponent(Textures.CLOAK, () -> {
|
new TabMenuComponent(Textures.CLOAK, () -> {
|
||||||
|
|||||||
@@ -98,8 +98,7 @@ public class CloakStore extends SaturnScreen {
|
|||||||
.centerOffset(width, height, 15, 0));
|
.centerOffset(width, height, 15, 0));
|
||||||
|
|
||||||
draw(new Sidebar(5, this.provider::close)
|
draw(new Sidebar(5, this.provider::close)
|
||||||
.centerOffset(width, height, -((scrollWidth - 30) / 2 + 20), 0)
|
.centerOffset(width, height, -((scrollWidth - 30) / 2 + 20), 0));
|
||||||
.animation(new Fade(400)));
|
|
||||||
|
|
||||||
draw(new TabMenu(0,
|
draw(new TabMenu(0,
|
||||||
new TabMenuComponent(Textures.CLOAK, () -> {
|
new TabMenuComponent(Textures.CLOAK, () -> {
|
||||||
|
|||||||
@@ -99,8 +99,7 @@ public class HatStore extends SaturnScreen {
|
|||||||
.centerOffset(width, height, 15, 0));
|
.centerOffset(width, height, 15, 0));
|
||||||
|
|
||||||
draw(new Sidebar(5, this.provider::close)
|
draw(new Sidebar(5, this.provider::close)
|
||||||
.centerOffset(width, height, -((scrollWidth - 30) / 2 + 20), 0)
|
.centerOffset(width, height, -((scrollWidth - 30) / 2 + 20), 0));
|
||||||
.animation(new Fade(400)));
|
|
||||||
|
|
||||||
draw(new TabMenu(1,
|
draw(new TabMenu(1,
|
||||||
new TabMenuComponent(Textures.CLOAK, () -> {
|
new TabMenuComponent(Textures.CLOAK, () -> {
|
||||||
|
|||||||
Reference in New Issue
Block a user