realvizu/QuickDiagram

ViewportCalculator thinks the viewport size is 0,0

Closed this issue · 0 comments

It happens when the tool window is floating and visible when starting up visual studio.

DiagramControl.xaml: ViewportResizeCommand="{Binding Path=ViewportCalculator.ResizeCommand}" is executed after tool window resize event so tool window size is not recorded in ViewportCalculator.