ruffle/core
Mike Welsh 4820d5b044 core: Change Player::background_color to an Option
Player::background_color is now an Option. SetBackgroundColor will
change the background color of the player only when this is None,
i.e. only if no background color has yet been set.

This matches the behavior of the offical Flash Player, for example,
if a parent SWF is missing a SetBackgroundColor tag and loads a
child SWF, the child SWF's SetBackgroundColor tag takes effect.

This is anticipating adding a `bgcolor` option to the web builds,
allowing the HTML embed to override the bgcolor.
2021-01-13 11:57:19 -08:00
..
assets text: Add dummy implementation of device text 2019-10-07 23:23:45 -07:00
macros chore: Update lyon to 0.17.1 2021-01-04 18:08:14 -08:00
src core: Change Player::background_color to an Option 2021-01-13 11:57:19 -08:00
tests tests: Add test for Object constructor 2021-01-12 09:13:24 -08:00
Cargo.toml build(deps): bump rand from 0.8.1 to 0.8.2 2021-01-13 04:17:41 -08:00