- Add UI cache for position.
This commit is contained in:
@@ -393,15 +393,15 @@ mindplot.widget.Menu = new Class({
|
||||
|
||||
// designer.addEvent("modelUpdate", function(event) {
|
||||
// if (event.undoSteps > 0) {
|
||||
// $("undoEdition").setStyle("background-image", "url(../nicons/undo.png)");
|
||||
// $("undoEdition").setStyle("background-image", "url(../images/undo.png)");
|
||||
// } else {
|
||||
// $("undoEdition").setStyle("background-image", "url(../nicons/undo.png)");
|
||||
// $("undoEdition").setStyle("background-image", "url(../images/undo.png)");
|
||||
// }
|
||||
//
|
||||
// if (event.redoSteps > 0) {
|
||||
// $("redoEdition").setStyle("background-image", "url(../nicons/redo.png)");
|
||||
// $("redoEdition").setStyle("background-image", "url(../images/redo.png)");
|
||||
// } else {
|
||||
// $("redoEdition").setStyle("background-image", "url(../nicons/redo.png)");
|
||||
// $("redoEdition").setStyle("background-image", "url(../images/redo.png)");
|
||||
// }
|
||||
//
|
||||
// });
|
||||
|
@@ -26,10 +26,10 @@ mindplot.widget.TopicShapePanel = new Class({
|
||||
|
||||
var content = new Element("div", {'class':'toolbarPanel','id':'topicShapePanel'});
|
||||
content.innerHTML = '' +
|
||||
'<div id="rectagle" model="rectagle"><img src="../nicons/shape-rectangle.png" alt="Rectangle"></div>' +
|
||||
'<div id="rounded_rectagle" model="rounded rectagle" ><img src="../nicons/shape-rectangle-round.png" alt="Rounded Rectangle"></div>' +
|
||||
'<div id="line" model="line"><img src="../nicons/shape-line.png" alt="Line"></div>' +
|
||||
'<div id="elipse" model="elipse"><img src="../nicons/shape-circle.png"></div>';
|
||||
'<div id="rectagle" model="rectagle"><img src="../images/shape-rectangle.png" alt="Rectangle"></div>' +
|
||||
'<div id="rounded_rectagle" model="rounded rectagle" ><img src="../images/shape-rectangle-round.png" alt="Rounded Rectangle"></div>' +
|
||||
'<div id="line" model="line"><img src="../images/shape-line.png" alt="Line"></div>' +
|
||||
'<div id="elipse" model="elipse"><img src="../images/shape-circle.png"></div>';
|
||||
|
||||
return content;
|
||||
|
||||
|
Reference in New Issue
Block a user