Prevent edit state workspace scale from hiding next pages.

Fix: 228969651
Test: manual
Change-Id: I0cceb3bfab19e0721b21fb8c55fe1218b1f25af8
This commit is contained in:
Pat Manning committed 2022-04-20 14:41:46 +01:00
1 parent 4349d21246
commit ea5c1d29fe
2 files changed
+16 -1

No files matched your search

@@ -928,6 +928,13 @@ public class DeviceProfile {
return workspaceSpringLoadShrunkBottom;
}
/**
* Gets the minimum visible amount of the next workspace page when in the spring-loaded state.
*/
public float getWorkspaceSpringLoadedMinimumNextPageVisible() {
return getCellSize().x / 2f;
}
public int getWorkspaceWidth() {
return getWorkspaceWidth(getTotalWorkspacePadding());
}