Skip to content

Commit 10aa886

Browse files
committed
Removing Preview again
1 parent b1663ec commit 10aa886

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

CodeEdit/Features/Editor/TabBar/Tabs/Tab/EditorTabCloseButton.swift

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -104,20 +104,3 @@ struct EditorTabCloseButton: View {
104104
}
105105
}
106106
}
107-
108-
#if DEBUG
109-
@available(macOS 14.0, *)
110-
#Preview {
111-
@Previewable @State var closeButtonGestureActive: Bool = false
112-
@Previewable @State var isHoveringClose: Bool = false
113-
114-
return EditorTabCloseButton(
115-
isActive: false,
116-
isHoveringTab: false,
117-
isDragging: false,
118-
closeAction: { print("Close tab") },
119-
closeButtonGestureActive: $closeButtonGestureActive,
120-
isHoveringClose: $isHoveringClose
121-
)
122-
}
123-
#endif

0 commit comments

Comments
 (0)