rename flag to minimizeEnabled
Merge branch 'issue757' into 1.7.x