Skip to content

Convenience methods to fill color now accepts "#"#478

Open
okuramasafumi wants to merge 1 commit into
weshatheleopard:masterfrom
okuramasafumi:fill-with-sharp
Open

Convenience methods to fill color now accepts "#"#478
okuramasafumi wants to merge 1 commit into
weshatheleopard:masterfrom
okuramasafumi:fill-with-sharp

Conversation

@okuramasafumi

Copy link
Copy Markdown

Problem

Color strings are invalid when it starts with "#".

Solution

Keep color validation as is, but change_fill and change_row_fill accepts strings like #adadad.

Background

Some editors recognize strings starting with "#" as color and colorize them. It's an useful feature, but rubyXL doesn't accept those strings as color.
Changing color validation can cause backward incompatibility, so only convenience methods are changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant