sprotty icon indicating copy to clipboard operation
sprotty copied to clipboard

Auto fit or center when setting model

Open tomvdbussche opened this issue 5 years ago • 1 comments

When setting the model (rather than updating) I usually fit it to the screen immediately afterwards. I don't want any animations in this case so I disable animation for the fit to screen action. The issue here is that because these are separate actions, the model briefly appears on top of the screen before drawing it in the middle of the screen.

I would be nice to be able to fit or center the diagram before rendering it to the screen.

tomvdbussche avatar Feb 11 '20 10:02 tomvdbussche

Related: #147

spoenemann avatar Feb 11 '20 15:02 spoenemann