[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linterna-magica-commit] [351] Decrease the size for the object, so it a
From: |
Ivaylo Valkov |
Subject: |
[linterna-magica-commit] [351] Decrease the size for the object, so it all fits in the space |
Date: |
Fri, 21 Dec 2012 15:36:02 +0000 |
Revision: 351
http://svn.sv.gnu.org/viewvc/?view=rev&root=linterna-magica&revision=351
Author: valkov
Date: 2012-12-21 15:36:01 +0000 (Fri, 21 Dec 2012)
Log Message:
-----------
Decrease the size for the object, so it all fits in the space
allocated by the website.
Modified Paths:
--------------
trunk/src/lm_create_video_object.js
Modified: trunk/src/lm_create_video_object.js
===================================================================
--- trunk/src/lm_create_video_object.js 2012-12-21 13:37:43 UTC (rev 350)
+++ trunk/src/lm_create_video_object.js 2012-12-21 15:36:01 UTC (rev 351)
@@ -92,6 +92,13 @@
container.style.setProperty("width",
(object_data.width+"px"), "important");
+
+ container.style.setProperty("height",
+ (object_data.height+"px"), "important");
+
+ // Decrease the size for the object, so it all fits in the space
+ // allocated by the website
+ object_data.height -= 48;
object_tag_wrapper.setAttribute("id",
"linterna-magica-video-object-wrapper-"+id);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [linterna-magica-commit] [351] Decrease the size for the object, so it all fits in the space,
Ivaylo Valkov <=