mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-28 15:44:32 +00:00
Fix Scroll Effect on the notch notes and clipboard
This commit is contained in:
parent
722363cdca
commit
adc28fcf2f
6 changed files with 152 additions and 8 deletions
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
import Foundation
|
||||
import Defaults
|
||||
import CoreGraphics
|
||||
|
||||
public enum Style {
|
||||
case notch
|
||||
|
|
@ -34,6 +35,23 @@ public enum NotchViews {
|
|||
case clipboard
|
||||
}
|
||||
|
||||
enum NotesLayoutState: Equatable {
|
||||
case list
|
||||
case split
|
||||
case editor
|
||||
|
||||
var preferredHeight: CGFloat {
|
||||
switch self {
|
||||
case .list:
|
||||
return 240
|
||||
case .split:
|
||||
return 260
|
||||
case .editor:
|
||||
return 320
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
enum SettingsEnum {
|
||||
case general
|
||||
case about
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue