[graphology-canvas] render() ignores everything in settings argument except for width and height · Issue #542 · graphology/graphology · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reading the way the resolveDefaults function works, it seems you are right indeed. DEFAULTS resolution should happen before using the dimensions to merge. This could should be refactored to avoid the problem you demonstrate. Do you want to contribute a fix?
render
callsrefineSettings
which looks like this:Before executing the
settings = resolveDefaults(settings, dimensions);
line, the value of thesettings
argument is:After executing it, it becomes:
The text was updated successfully, but these errors were encountered: