mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
[ios] fully expand the track PP when opened
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
18f3d27157
commit
79a5ba5609
@@ -104,9 +104,6 @@ class PlacePageTrackLayout: IPlacePageLayout {
|
|||||||
}
|
}
|
||||||
let previewFrame = scrollView.convert(previewView.bounds, from: previewView)
|
let previewFrame = scrollView.convert(previewView.bounds, from: previewView)
|
||||||
steps.append(.preview(previewFrame.maxY - scrollHeight))
|
steps.append(.preview(previewFrame.maxY - scrollHeight))
|
||||||
if !compact {
|
|
||||||
steps.append(.expanded(-scrollHeight * 0.55))
|
|
||||||
}
|
|
||||||
steps.append(.full(0))
|
steps.append(.full(0))
|
||||||
return steps
|
return steps
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user