From 11eb0b401f896a2a1a2c0381270bf345c69e6936 Mon Sep 17 00:00:00 2001 From: Kevin Zheng Date: Sun, 3 Mar 2024 00:57:06 +1100 Subject: [PATCH] Fix minor issue with ViewTree --- client/src/components/title-bar/TitleBar.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/client/src/components/title-bar/TitleBar.tsx b/client/src/components/title-bar/TitleBar.tsx index f43f559e..52b7f414 100644 --- a/client/src/components/title-bar/TitleBar.tsx +++ b/client/src/components/title-bar/TitleBar.tsx @@ -80,7 +80,13 @@ export const TitleBar = () => { key: id(), children: [ { ...view, size: 80 }, - { type: "leaf", key: id(), content: { type: "" }, size: 20 }, + { + type: "leaf", + key: id(), + content: { type: "" }, + size: 20, + acceptDrop: true, + }, ], }, };