Skip to content

Commit 064ea68

Browse files
committed
fix: removed test
1 parent f9ba512 commit 064ea68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GEOComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ var GEOComp = (function () {
237237
props.feature.onChange(eventObj)
238238
break;
239239
case 'window:resize':
240-
if (true || (featureEnabled('scaleToBottom') && props.autoHeight)) {
240+
if (featureEnabled('scaleToBottom') && props.autoHeight) {
241241
const pads = props.styles.padding.split(' ');
242242
const bottom = (parseFloat(pads[pads.length == 4 ? 3 : 0].replace("px", "")) * 2) - 2
243243
var newHeight = dimensions.height + (eventObj.windowSize.height - eventObj.bounds.bottom - bottom)

0 commit comments

Comments
 (0)