The code in the if statements when in auto mode aren't being fired the 2nd time. This is because the displayModeState is set to open (atleast with my use case), hence the _widthSize() returns 0;
I've refined the statements and placed the return statement outside the 2nd condition check.
The code in the if statements when in auto mode aren't being fired the 2nd time. This is because the displayModeState is set to open (atleast with my use case), hence the
_widthSize()
returns 0;I've refined the statements and placed the return statement outside the 2nd condition check.
Related to #46