fix bug with dragged entry

This commit is contained in:
Mikayla Maki 2023-06-28 10:34:47 -07:00
parent cf8e0befc8
commit bf2c2fe242
No known key found for this signature in database

View file

@ -116,14 +116,13 @@ export default function projectPanel(colorScheme: ColorScheme) {
background: background(layer),
padding: { left: 6, right: 6, top: 0, bottom: 6 },
indentWidth: 12,
defaultEntry,
draggedEntry: entry({
default: {
text: text(layer, "mono", "on", { size: "sm" }),
background: withOpacity(background(layer, "on"), 0.9),
border: border(layer),
}
}),
entry: defaultEntry,
draggedEntry: {
...defaultEntry.inactive.default,
text: text(layer, "mono", "on", { size: "sm" }),
background: withOpacity(background(layer, "on"), 0.9),
border: border(layer),
},
ignoredEntry: entry({
default: {
text: text(layer, "mono", "disabled"),