Skip to content

0.9.2 Release Candidate 02

Pre-release
Pre-release

Choose a tag to compare

@SweetJonnySauce SweetJonnySauce released this 30 Aug 15:01
· 4 commits to main since this release
d19d9f7

Bug Fixes

#241 - Controller not launching in v0.9.0
#259 - reinstall blows away font preferences

Features

Circles everywhere!

send_shape now accepts "circle" See here.

For a circle, keep the stable ID and shape token positional, then use named arguments for the colour and geometry. A circle has a centre (x, y), not a top-left corner, and does not send w or h:

overlay.send_shape(
    "myplugin-radius",
    "circle",
    color="#80d0ff",
    fill="#1a1a1acc",
    x=100,
    y=100,
    radius=50,
    thickness=2,
    ttl=5,
)

overlay.send_shape(shape="rect"...) also now supports the thickness parameter

Note: If you implement either shape=circle or thickness in your overlay, provide notice to your CMDRs that the legacy EDMCOverlay and edmcoverlay2 do not support this and they need to be on version 0.9.2+ of EDMCModernOverlay. See Developer FAQ

image

Note: The three circles at the bottom middle have the same center point and you'd expect them to be concentric. This happens due to how the overlay scales the payloads to match the current screen geometry. You can overcome this by defining a plugin group and including all three circles in it.

Thanks to @dwomble for the suggestion of 'circle' for his new plugin EDMC-ExplorerLite