Skip to content

Commit

Permalink
Change to lower resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
Faustino Aguilar authored Apr 24, 2019
1 parent 23badae commit fd3150c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/MainWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ public class Camera.MainWindow : Gtk.Window {
this.set_application (application);
this.title = _("Camera");
this.icon_name = "accessories-camera";
this.set_default_size (1000, 700);
this.set_size_request (640, 480);
this.set_default_size (320, 240);
this.set_size_request (320, 240);
this.window_position = Gtk.WindowPosition.CENTER;
this.add_events (Gdk.EventMask.KEY_PRESS_MASK);

Expand Down Expand Up @@ -114,7 +114,7 @@ public class Camera.MainWindow : Gtk.Window {

private void initialize_camera_view () {
camera_view = new Widgets.CameraView ();
camera_view.get_camera_device ().set_capture_resolution (640, 480);
camera_view.get_camera_device ().set_capture_resolution (320, 240);

camera_view.initialized.connect (() => {
header_bar.camera_controls_sensitive = true;
Expand Down

0 comments on commit fd3150c

Please sign in to comment.