Skip to content

Commit

Permalink
Codable VisibleNode
Browse files Browse the repository at this point in the history
  • Loading branch information
zaneenders committed Jul 2, 2024
1 parent 05f9cfc commit 4c19309
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/ChromaShell/Blocks/BulitInBlocks/GroupBlock.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ extension Group {
}
}

extension GroupOrientation: Equatable {}
extension GroupOrientation: Equatable, Codable {}
public enum GroupOrientation {
case vertical
case horizontal
Expand Down
2 changes: 1 addition & 1 deletion Sources/ChromaShell/Rendering/VisibleNode.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
indirect enum VisibleNode {
indirect enum VisibleNode: Codable {
// NOTE Maybe replace with .style rendering doesn't care whats selected
// just what and where things go
case selected(VisibleNode)
Expand Down

0 comments on commit 4c19309

Please sign in to comment.