Skip to content

Commit 6c6b528

Browse files
committed
Allow selected state
1 parent f117e1d commit 6c6b528

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/GateEngine/UI/TileMapControl.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ public final class TileMapControlView<Scheme: TileMapControlScheme>: TileMapView
306306
}
307307
case .toggleable:
308308
let currentState = self.state(forControl: pair.control, subControlIndex: pair.subControlIndex)
309-
guard currentState != .selected && currentState != .disabled else { return }
309+
guard currentState != .disabled else { return }
310310
let state: TileMapControlState = if currentState == .selected {
311311
.regular
312312
}else{

0 commit comments

Comments
 (0)