Skip to content

Commit

Permalink
fix findbar height calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
nightwing committed Aug 9, 2018
1 parent cc906be commit 79a69bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/c9.ide.layout.classic/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -479,11 +479,11 @@ define(function(require, exports, module) {
});

function show(amlNode, callback) {
if (!amlNode)
if (!amlNode || !plugin.hasTheme)
return callback();

anims.animateSplitBoxNode(amlNode, {
height: amlNode.$ext.offsetHeight + "px",
height: amlNode.$ext.scrollHeight + "px",
duration: 0.2,
timingFunction: "cubic-bezier(.10, .10, .25, .90)"
}, function() {
Expand Down

0 comments on commit 79a69bd

Please sign in to comment.