mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
Merge pull request #46 from Teybeo/master
Fix the save options popup blocking mouse events on Firefox
This commit is contained in:
commit
072e945b32
@ -27,7 +27,8 @@ define([
|
|||||||
display: 'none',
|
display: 'none',
|
||||||
zIndex: '1000',
|
zIndex: '1000',
|
||||||
opacity: 0,
|
opacity: 0,
|
||||||
WebkitTransition: 'opacity 0.2s linear'
|
WebkitTransition: 'opacity 0.2s linear',
|
||||||
|
transition: 'opacity 0.2s linear'
|
||||||
});
|
});
|
||||||
|
|
||||||
dom.makeFullscreen(this.backgroundElement);
|
dom.makeFullscreen(this.backgroundElement);
|
||||||
@ -39,7 +40,8 @@ define([
|
|||||||
display: 'none',
|
display: 'none',
|
||||||
zIndex: '1001',
|
zIndex: '1001',
|
||||||
opacity: 0,
|
opacity: 0,
|
||||||
WebkitTransition: '-webkit-transform 0.2s ease-out, opacity 0.2s linear'
|
WebkitTransition: '-webkit-transform 0.2s ease-out, opacity 0.2s linear',
|
||||||
|
transition: 'transform 0.2s ease-out, opacity 0.2s linear'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
@ -58,8 +60,6 @@ define([
|
|||||||
|
|
||||||
var _this = this;
|
var _this = this;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
this.backgroundElement.style.display = 'block';
|
this.backgroundElement.style.display = 'block';
|
||||||
|
|
||||||
this.domElement.style.display = 'block';
|
this.domElement.style.display = 'block';
|
||||||
|
Loading…
Reference in New Issue
Block a user