Dock Spawn is a web based dock layout engine that aids in creating flexible user interfaces by enabling panels to be docked on the screen similar to Visual Studio IDE
I am getting an exception in Dart version of Dock-Spawn due to integer division by zero.
The Exception:
Breaking on exception: Unsupported operation: Infinity or NaN toInt
Where:
lib/splitter/splitter_panel.dart Line no:94
For the time being I fixed it by adding the following in line 80:
if (otherPanelScaleMultipler.isInfinite || otherPanelScaleMultipler.isNaN){
otherPanelScaleMultipler = 1;
}
I am not sure if thats the fix. I am just saturating otherPanelScaleMultipler to max possible value.
I am getting an exception in Dart version of Dock-Spawn due to integer division by zero.
The Exception: Breaking on exception: Unsupported operation: Infinity or NaN toInt
Where: lib/splitter/splitter_panel.dart Line no:94
For the time being I fixed it by adding the following in line 80: if (otherPanelScaleMultipler.isInfinite || otherPanelScaleMultipler.isNaN){ otherPanelScaleMultipler = 1; }
I am not sure if thats the fix. I am just saturating otherPanelScaleMultipler to max possible value.