Display the actor panel without using the zippy.
authorRobert Sesek <rsesek@bluestatic.org>
Sat, 13 Nov 2010 20:46:03 +0000 (15:46 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Sat, 13 Nov 2010 20:46:03 +0000 (15:46 -0500)
web_frontend/actor.js
web_frontend/file.js
web_frontend/screen.css

index 410e0bafde30794bcdaccc388a93efda3ba3a480..23a587459c3d3782f48da05268195772c4230675 100644 (file)
@@ -90,6 +90,11 @@ armadillo.Actor.prototype.disposeInternal = function() {
   this.file_ = null;
 };
 
+armadillo.Actor.prototype.createDom = function() {
+  this.setElementInternal(this.dom_.createDom('div'));
+  this.decorate(this.getElement());
+};
+
 /**
  * Decorates the given element into a path control.
  * @param  {Element}  element
@@ -219,19 +224,6 @@ armadillo.Actor.prototype.createActionDialog_ = function() {
   return confirm;
 };
 
-/**
- * Event handler for when this.popup_ closes.
- * @param  {Event}  e
- */
-armadillo.Actor.prototype.onPopupClosed_ = function(e) {
-  // If an action is not being performed, then dispose the Actor. Otherwise,
-  // this will get cleaned up after the actionObject_ closes.
-  if (!this.actionObject_) {
-    this.file_.setHighlight(armadillo.File.Highlight.SELECTED);
-    this.dispose();
-  }
-};
-
 /**
  * Tile Control Renderer
  * @constructor
index 86d2dd63dfd6cd0b57a7eb59c678cca1eca79b26..9f23ffcaff37e36c637f8d4b2694f25a7ab85f8e 100644 (file)
@@ -178,14 +178,12 @@ armadillo.File.prototype.clickHandler_ = function(e) {
  */
 armadillo.File.prototype.actorHandler_ = function(e) {
   e.stopPropagation();
-  if (!this.actor_.isInDocument()) {
+  if (!this.actor_.isInDocument())
     this.actor_.render(this.element_);
-    this.actor_.setVisible(true);
-  }
-  if (!this.zippy_)
+  if (false && !this.zippy_)
     this.zippy_ = new goog.ui.AnimatedZippy(this.element_,
         this.actor_.getElement(), false);
-  this.zippy_.toggle();
+  // this.zippy_.toggle();
 };
 
 /**
index 7f40b8033dc40c880973fab28bb9ea44fa10aa5c..0411ca57f02a5890a729b39a131dd16b056ed4d4 100644 (file)
@@ -34,7 +34,7 @@ h1 {
 
 #ls li {
   padding: .3em;
-  height: 1.5em;
+  min-height: 1.5em;
   line-height: 1.5em;
 }
 
@@ -71,8 +71,6 @@ h1 {
 .actor {
   width: 8.5em;
   height: 8.5em;
-  position: absolute;
-  visibility: hidden;
 
   background-color: rgb(77, 79, 83);