probcomp/curve-fitting

Support high-DPI displays

Offen

#69 geöffnet am 28.11.2018

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Clojure (3 Forks)auto 404
enhancementgood first issue

Repository-Metriken

Stars
 (3 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

If a configuration flag is enabled auto-detect the display's pixel density with quil.core/pixel-density then set it with quil.core/display-density.

Note that the above Quil functions are only available inside "Sketch functions", i.e. functions passed to the applet Quil manages. You'd probably want to put this logic in the :settings function.

Contributor Guide