Skip to content

Commit

Permalink
Just...just disable them.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjtorikian committed May 31, 2012
1 parent c919687 commit 9da6a12
Show file tree
Hide file tree
Showing 3 changed files with 502 additions and 1,108 deletions.
3 changes: 3 additions & 0 deletions plugins-client/ext.panels/panels.js
Expand Up @@ -57,6 +57,9 @@ module.exports = ext.register("ext/panels/panels", {
});

ide.addEventListener("settings.load", function(){
if (apf.isGecko)
settings.model.setQueryValue("general/@animateui", false);

if (!settings.model.queryNode("auto/panels/panel[@path='"
+ panelExt.path + "']")) {
settings.model.appendXml("<panel path='"
Expand Down
2 changes: 1 addition & 1 deletion plugins-client/ext.panels/settings.xml
@@ -1,4 +1,4 @@
<a:application xmlns:a="http://ajax.org/2005/aml">
<a:checkbox class="underlined" label="Enable UI Animations" value="[general/@animateui]" skin="checkbox_grey" position="1000" />
<a:checkbox visible="!apf.isGecko" class="underlined" label="Enable UI Animations" value="[general/@animateui]" skin="checkbox_grey" position="1000" />
<a:checkbox position="1001" class="underlined" label="Animate Scrolling" value="[editors/code/@animatedscroll]" skin="checkbox_grey" />
</a:application>

0 comments on commit 9da6a12

Please sign in to comment.