From: Steinar H. Gunderson Date: Tue, 7 Apr 2015 15:52:31 +0000 (+0200) Subject: Add a new 2304x1728 resolution (twice 1152x864), for fitting better into 30-inch... X-Git-Url: https://git.sesse.net/?p=pr0n;a=commitdiff_plain;h=060aaacf0d15a03ed7287cf81169f630a1a1f95b;ds=sidebyside Add a new 2304x1728 resolution (twice 1152x864), for fitting better into 30-inch 16:9 screens. --- diff --git a/files/pr0n-fullscreen.js b/files/pr0n-fullscreen.js index 8c02b45..fe31090 100644 --- a/files/pr0n-fullscreen.js +++ b/files/pr0n-fullscreen.js @@ -50,6 +50,7 @@ function find_width() * pick_image_size, below. */ var fixed_sizes = [ + [ 2304, 1728 ], [ 2048, 1536 ], [ 1920, 1440 ], [ 1600, 1200 ], diff --git a/perl/Sesse/pr0n/Index.pm b/perl/Sesse/pr0n/Index.pm index 760e242..22d233b 100644 --- a/perl/Sesse/pr0n/Index.pm +++ b/perl/Sesse/pr0n/Index.pm @@ -479,7 +479,7 @@ sub print_thumbsize { } sub print_viewres { my ($r, $event, $settings, $defsettings) = @_; - my @alternatives = qw(320x256 512x384 640x480 800x600 1024x768 1152x864 1280x960 1400x1050 1600x1200 1920x1440 2048x1536); + my @alternatives = qw(320x256 512x384 640x480 800x600 1024x768 1152x864 1280x960 1400x1050 1600x1200 1920x1440 2048x1536 2304x1728); chomp (my $unlimited = Sesse::pr0n::Templates::fetch_template($r, 'viewres-unlimited')); chomp (my $original = Sesse::pr0n::Templates::fetch_template($r, 'viewres-original')); push @alternatives, [ $unlimited, -2, -2 ];