mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Remove favorites drag opacity effect on iOS (fixes #43)
No workaround for how to handle drag and drop effect on opening context menu
This commit is contained in:
@@ -49,7 +49,9 @@ struct FavoriteItemView: View {
|
||||
}
|
||||
|
||||
.contentShape(Rectangle())
|
||||
#if os(macOS)
|
||||
.opacity(dragging?.id == item.id ? 0.5 : 1)
|
||||
#endif
|
||||
.onAppear {
|
||||
resource?.addObserver(store)
|
||||
resource?.load()
|
||||
|
Reference in New Issue
Block a user