gnome-shell r81 - trunk/js/ui
- From: otaylor svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-shell r81 - trunk/js/ui
- Date: Sun, 23 Nov 2008 04:23:34 +0000 (UTC)
Author: otaylor
Date: Sun Nov 23 04:23:34 2008
New Revision: 81
URL: http://svn.gnome.org/viewvc/gnome-shell?rev=81&view=rev
Log:
Improve overlay mode's window scaling
Add a layout for 5 windows and slightly increase the scale factor
for 3 and 4 windows.
Patch from Natan Yellin
http://bugzilla.gnome.org/show_bug.cgi?id=561947
Modified:
trunk/js/ui/overlay.js
Modified: trunk/js/ui/overlay.js
==============================================================================
--- trunk/js/ui/overlay.js (original)
+++ trunk/js/ui/overlay.js Sun Nov 23 04:23:34 2008
@@ -41,8 +41,9 @@
const POSITIONS = {
1: [[0.5, 0.5, 0.8]],
2: [[0.25, 0.5, 0.4], [0.75, 0.5, 0.4]],
- 3: [[0.2, 0.33, 0.3], [0.5, 0.67, 0.3], [0.8, 0.33, 0.3]],
- 4: [[0.25, 0.25, 0.3], [0.75, 0.25, 0.3], [0.75, 0.75, 0.3], [0.25, 0.75, 0.3]]
+ 3: [[0.25, 0.25, 0.33], [0.75, 0.25, 0.33], [0.5, 0.75, 0.33]],
+ 4: [[0.25, 0.25, 0.33], [0.75, 0.25, 0.33], [0.75, 0.75, 0.33], [0.25, 0.75, 0.33]],
+ 5: [[0.165, 0.25, 0.28], [0.495, 0.25, 0.28], [0.825, 0.25, 0.28], [0.25, 0.75, 0.4], [0.75, 0.75, 0.4]]
};
function Sideshow(width) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]