fit-ui 3.2.9 → 3.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/Fit.UI.js CHANGED
@@ -682,7 +682,7 @@ Fit._internal =
682
682
  {
683
683
  Core:
684
684
  {
685
- VersionInfo: { Major: 3, Minor: 2, Patch: 9 } // Do NOT modify format - version numbers are programmatically changed when releasing new versions - MUST be on a separate line!
685
+ VersionInfo: { Major: 3, Minor: 2, Patch: 10 } // Do NOT modify format - version numbers are programmatically changed when releasing new versions - MUST be on a separate line!
686
686
  }
687
687
  };
688
688
 
@@ -17169,9 +17169,9 @@ Fit.Controls.Dialog = function(controlId)
17169
17169
 
17170
17170
  if ((buttons !== null || titleContainer !== null) && (me.Maximized() === true || me.Height().Value !== -1 || me.MinimumHeight().Value !== -1 || me.MaximumHeight().Value !== -1))
17171
17171
  {
17172
- var dh = dialog.offsetHeight;
17173
- var th = (titleContainer !== null ? titleContainer.offsetHeight : 0);
17174
- var bh = (buttons !== null ? buttons.offsetHeight : 0);
17172
+ var dh = dialog.getBoundingClientRect().height; /*dialog.offsetHeight*/;
17173
+ var th = (titleContainer !== null ? titleContainer.getBoundingClientRect().height /*titleContainer.offsetHeight*/ : 0);
17174
+ var bh = (buttons !== null ? buttons.getBoundingClientRect().height /*buttons.offsetHeight*/ : 0);
17175
17175
 
17176
17176
  content.style.height = (dh - th - bh) + "px";
17177
17177
  }