Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Remove scale_percent method from EditorPreviewQuality

Richie McIlroy9c8acd59c792
diff --git a/apps/desktop/src-tauri/src/general_settings.rs b/apps/desktop/src-tauri/src/general_settings.rs
index 33b995749..5f47a5f02 100644
--- a/apps/desktop/src-tauri/src/general_settings.rs
+++ b/apps/desktop/src-tauri/src/general_settings.rs
@@ -40,16 +40,6 @@ pub enum EditorPreviewQuality {
Full,
}
-impl EditorPreviewQuality {
- pub fn scale_percent(self) -> u32 {
- match self {
- Self::Quarter => 25,
- Self::Half => 50,
- Self::Full => 100,
- }
- }
-}
-
impl MainWindowRecordingStartBehaviour {
pub fn perform(&self, window: &tauri::WebviewWindow) -> tauri::Result<()> {
match self {