gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r10741: Fix movi e size on restart.


From: Benjamin Wolsey
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r10741: Fix movi e size on restart. Fix suggested by Michael Fötsch.
Date: Thu, 26 Mar 2009 09:13:16 +0100
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 10741
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Thu 2009-03-26 09:13:16 +0100
message:
  Fix movie size on restart. Fix suggested by Michael Fötsch.
modified:
  gui/gui.cpp
    ------------------------------------------------------------
    revno: 10736.1.11
    committer: Benjamin Wolsey <address@hidden>
    branch nick: work
    timestamp: Thu 2009-03-26 09:11:38 +0100
    message:
      Patch as suggested by Michael Fötsch to fix size on restart.
    modified:
      gui/gui.cpp
=== modified file 'gui/gui.cpp'
--- a/gui/gui.cpp       2009-03-13 20:49:33 +0000
+++ b/gui/gui.cpp       2009-03-26 08:11:38 +0000
@@ -877,7 +877,6 @@
     mr->setVariables(_flashVars);
 
     _stage->setRootMovie( mr.release() ); // will construct the instance
-    resize_view(_width, _height); // to properly update stageMatrix if scaling 
is given 
 
     bool background = true; // ??
     _stage->set_background_alpha(background ? 1.0f : 0.05f);
@@ -887,6 +886,9 @@
     sound::sound_handler* s = _stage->runInfo().soundHandler();
     if ( s ) s->unpause();
     _started = true;
+    
+    // to properly update stageMatrix if scaling is given  
+    resize_view(_width, _height); 
 }
 
 bool


reply via email to

[Prev in Thread] Current Thread [Next in Thread]