Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

added option to disable container resize #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

forberg
Copy link

@forberg forberg commented Jun 30, 2015

No description provided.

@@ -7,16 +7,17 @@ function resize (gardrPluginApi) {
var resizeVertical = !!item.options.resizeVertical;
var container = item.options.container;
var rendered = item.rendered;
var disableContainerResize = item.options.disableContainerResize || false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be named enabled and flipped so the if statements are more readable.

@gregersrygg
Copy link
Member

I don't understand the need for this. If an item has a falsy value for resizeHorizontal and resizeVertical it should not be resized. If it does that is a bug.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants