Skip to content

Commit 0556998

Browse files
committed
Fixed Default Hover implementation
1 parent 0eff4fc commit 0556998

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/SwiftCrossUI/Backend/AppBackend.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1153,13 +1153,13 @@ extension AppBackend {
11531153
}
11541154

11551155

1156-
public func createHoverTarget(wrapping child: Widget) {
1156+
public func createHoverTarget(wrapping child: Widget) -> Widget {
11571157
todo()
11581158
}
11591159
public func updateHoverTarget(
1160-
_ hoverTarget: Widget,
1160+
_ container: Widget,
11611161
environment: EnvironmentValues,
1162-
action: @escaping () -> Void
1162+
action: @escaping (Bool) -> Void
11631163
) {
11641164
todo()
11651165
}

0 commit comments

Comments
 (0)