Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Adjust minimum window sizes for Main and Settings

Richie McIlroy93967e6c505e
diff --git a/apps/desktop/src-tauri/src/windows.rs b/apps/desktop/src-tauri/src/windows.rs
index d09d54d0d..b36d55433 100644
--- a/apps/desktop/src-tauri/src/windows.rs
+++ b/apps/desktop/src-tauri/src/windows.rs
@@ -182,10 +182,10 @@ impl CapWindowId {
pub fn min_size(&self) -> Option<(f64, f64)> {
Some(match self {
Self::Setup => (600.0, 600.0),
- Self::Main => (300.0, 360.0),
+ Self::Main => (310.0, 320.0),
Self::Editor { .. } => (1275.0, 800.0),
Self::ScreenshotEditor { .. } => (800.0, 600.0),
- Self::Settings => (600.0, 450.0),
+ Self::Settings => (600.0, 465.0),
Self::Camera => (200.0, 200.0),
Self::Upgrade => (950.0, 850.0),
Self::ModeSelect => (580.0, 340.0),