Skip to content

Commit eb446a2

Browse files
committed
checkpoint
1 parent f77ad34 commit eb446a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Power Editor/Views/SidebarView.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,14 @@ struct SidebarView: View {
119119
Image(systemName: "circle.lefthalf.filled")
120120
.foregroundStyle(.gray)
121121
Slider(value: $layer.opacity, in: 0...1)
122-
.frame(width: .infinity)
122+
.frame(width: 100)
123123
Text("\(Int(layer.opacity * 100))%")
124124
.foregroundStyle(.gray)
125125
.font(.caption)
126126
}
127127
.padding(.horizontal)
128128
.padding(.bottom, 4)
129+
.frame(width:.infinity)
129130
}
130131
}
131132
.listRowBackground(layer.isActive ? Color.blue.opacity(0.2) : Color.clear)

0 commit comments

Comments
 (0)