mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-26 07:44:56 +01:00
FloatingTip in ToolbarItem deleted
This commit is contained in:
parent
efd8c6e867
commit
52968d435c
@ -26,27 +26,6 @@ mindplot.widget.ToolbarItem = new Class({
|
|||||||
this._options = options;
|
this._options = options;
|
||||||
this._enable = false;
|
this._enable = false;
|
||||||
this.enable();
|
this.enable();
|
||||||
// this._registerTip();
|
|
||||||
|
|
||||||
},
|
|
||||||
|
|
||||||
_registerTip: function() {
|
|
||||||
|
|
||||||
return new mindplot.widget.FloatingTip($("#"+this._buttonId), {
|
|
||||||
html: false,
|
|
||||||
position: 'bottom',
|
|
||||||
arrowOffset : 5,
|
|
||||||
center: true,
|
|
||||||
arrowSize: 5,
|
|
||||||
showDelay: 500,
|
|
||||||
hideDelay: 0,
|
|
||||||
className: 'toolbarTip',
|
|
||||||
motionOnShow:false,
|
|
||||||
motionOnHide:false,
|
|
||||||
motion: 0,
|
|
||||||
distance: 0,
|
|
||||||
preventHideOnOver:false
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
|
|
||||||
getButtonElem : function() {
|
getButtonElem : function() {
|
||||||
@ -55,10 +34,6 @@ mindplot.widget.ToolbarItem = new Class({
|
|||||||
return elem;
|
return elem;
|
||||||
}.protect(),
|
}.protect(),
|
||||||
|
|
||||||
getButtonId : function(){
|
|
||||||
return this._buttonId;
|
|
||||||
},
|
|
||||||
|
|
||||||
show : function() {
|
show : function() {
|
||||||
this.fireEvent('show');
|
this.fireEvent('show');
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user