@@ -35,9 +35,7 @@ struct NodeView: View {
3535 @Binding var clickingOutput : Bool
3636 @Environment ( \. searchText) private var searchText
3737
38- @State private var selectedAction = " normal "
3938 @State private var initialWidth : CGFloat = 0
40- @State private var resizeOffset : CGPoint = . zero
4139 @State private var isNodeHovered : Bool = false
4240
4341 @State private var showAlert = false
@@ -50,7 +48,7 @@ struct NodeView: View {
5048 InputPointsView ( )
5149 ZStack ( ) {
5250 VStack ( spacing: 0 ) {
53- VStack ( alignment: . center , spacing: 10 ) {
51+ VStack ( alignment: . leading , spacing: 10 ) {
5452 ZStack {
5553 if isEditing {
5654 HStack {
@@ -119,7 +117,6 @@ struct NodeView: View {
119117 //태그 팝업창
120118 if isEditingForTag {
121119 TagPopupView ( isEditingForTag: $isEditingForTag, node: node)
122- . transition ( . scale)
123120 . zIndex ( 1 )
124121 }
125122
@@ -159,6 +156,8 @@ struct NodeView: View {
159156 . shadow ( color: . black. opacity ( 0.1 ) , radius: 5 , x: 0 , y: 4 )
160157 OutputPointsView ( )
161158 }
159+ . animation ( . easeInOut, value: isEditing)
160+ . animation ( . easeInOut, value: isEditingForTag)
162161 . onChange ( of: isEditing) { oldValue, newValue in
163162 if oldValue && !newValue {
164163 var newNode = node
0 commit comments