cfry / dde

Dexter Development Environment
Other
44 stars 25 forks source link

Simulated robot not showing up in v3.8.0 #74

Closed HaddingtonDynamics closed 2 months ago

HaddingtonDynamics commented 3 years ago

When opening the simulator panel on a freshly installed version of DDE, the robot may not show up at all, or just the top of it may be visible upside down in the window. image

To work around this problem, pull down the File menu and select New: image paste this code into the main editor panel:

persistent_set("dde_window_width",outerWidth);
persistent_set("dde_window_height",outerHeight);
location.reload();

click the Eval button below the editor window.

That should fix the window sizing and then reload the window

This bug should be fixed by https://github.com/cfry/dde/pull/72 if that is accepted in the next release.