mirror of
https://github.com/dscyrescotti/Memola.git
synced 2026-07-14 00:33:02 +02:00
bug: fix pen dock ui blockage to canvas
This commit is contained in:
@@ -51,7 +51,6 @@ struct PenDock: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.padding(.vertical, 10)
|
.padding(.vertical, 10)
|
||||||
.padding(.leading, 40)
|
|
||||||
.id(refreshScrollId)
|
.id(refreshScrollId)
|
||||||
}
|
}
|
||||||
.onReceive(tool.scrollPublisher) { id in
|
.onReceive(tool.scrollPublisher) { id in
|
||||||
@@ -72,7 +71,7 @@ struct PenDock: View {
|
|||||||
.clipShape(.rect(cornerRadii: .init(bottomTrailing: 8, topTrailing: 8)))
|
.clipShape(.rect(cornerRadii: .init(bottomTrailing: 8, topTrailing: 8)))
|
||||||
.overlay(alignment: .bottomLeading) {
|
.overlay(alignment: .bottomLeading) {
|
||||||
newPenButton
|
newPenButton
|
||||||
.offset(x: 60, y: 10)
|
.offset(x: 15, y: 10)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user