From a27f52927603c1f518a3dc46fed0e0a7568c98da Mon Sep 17 00:00:00 2001 From: trafficlunar Date: Wed, 8 Oct 2025 17:31:31 +0100 Subject: [PATCH] feat: small, random changes --- src/components/canvas/Blocks.tsx | 2 +- src/components/canvas/Canvas.tsx | 3 +++ src/components/canvas/information/Canvas.tsx | 2 +- src/components/dialogs/ClearBlocks.tsx | 2 +- src/components/sidebar/Replace.tsx | 4 ++-- src/components/toolbar/SelectedBlock.tsx | 6 +++--- src/components/toolbar/index.tsx | 2 +- src/context/History.tsx | 17 +++++++++-------- src/index.css | 2 +- src/pages/AppPage.tsx | 4 ++-- 10 files changed, 24 insertions(+), 20 deletions(-) diff --git a/src/components/canvas/Blocks.tsx b/src/components/canvas/Blocks.tsx index 093210f..625a55a 100644 --- a/src/components/canvas/Blocks.tsx +++ b/src/components/canvas/Blocks.tsx @@ -15,7 +15,7 @@ interface Props { isSelectionLayer?: boolean; } -// Lifts 16,000 tiles limit +// Removes 16,000 tiles limit settings.use32bitIndex = true; function Blocks({ blocks, missingTexture, textures, coords, scale, version, isSelectionLayer }: Props) { diff --git a/src/components/canvas/Canvas.tsx b/src/components/canvas/Canvas.tsx index e9248b8..834211d 100644 --- a/src/components/canvas/Canvas.tsx +++ b/src/components/canvas/Canvas.tsx @@ -527,6 +527,9 @@ function Canvas() { + {/* Overlay for the inset shadow */} +
+ diff --git a/src/components/canvas/information/Canvas.tsx b/src/components/canvas/information/Canvas.tsx index fb6b10a..59d9736 100644 --- a/src/components/canvas/information/Canvas.tsx +++ b/src/components/canvas/information/Canvas.tsx @@ -29,7 +29,7 @@ function CanvasInformation() {
-
+
Are you sure? - This action will delete every block on the canvas. It cannot be undone once completed. + This action will delete every block on the canvas! diff --git a/src/components/sidebar/Replace.tsx b/src/components/sidebar/Replace.tsx index e39c214..9569e1c 100644 --- a/src/components/sidebar/Replace.tsx +++ b/src/components/sidebar/Replace.tsx @@ -78,7 +78,7 @@ function Replace() {