Skip to content

Commit db37e14

Browse files
committed
feat: add liquid glass selected row surfaces
1 parent af90ba7 commit db37e14

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎EdgeMark/UI/Components/PanelRowBackground.swift‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import SwiftUI
22

33
/// Shared selection and hover surface for note and folder rows.
4-
/// Hover adopts Liquid Glass when enabled; classic mode keeps the established fills.
4+
/// Active row states adopt Liquid Glass when enabled; classic mode keeps the established fills.
55
struct PanelRowBackground: View {
66
@Environment(AppSettings.self) private var appSettings
77

@@ -16,7 +16,7 @@ struct PanelRowBackground: View {
1616
}
1717

1818
var body: some View {
19-
if #available(macOS 26.0, *), appSettings.usesLiquidGlass, isHovered {
19+
if #available(macOS 26.0, *), appSettings.usesLiquidGlass, isHovered || isSelected {
2020
shape
2121
.fill(isSelected ? Color.accentColor.opacity(0.14) : .clear)
2222
.glassEffect(.regular.interactive(), in: shape)

0 commit comments

Comments
 (0)