mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-30 15:32:38 +00:00
Fix operator+(StatefulStyle,States) operator
This commit is contained in:
parent
7b5f58aff4
commit
2a2c668e4f
@ -56,13 +56,13 @@ namespace css {
|
||||
return styleState;
|
||||
}
|
||||
|
||||
inline StatefulStyle operator+(StatefulStyle& styleState, const State& state) {
|
||||
inline StatefulStyle operator+(const StatefulStyle& styleState, const State& state) {
|
||||
StatefulStyle styleState2 = styleState;
|
||||
styleState2 += state;
|
||||
return styleState2;
|
||||
}
|
||||
|
||||
inline StatefulStyle operator+(StatefulStyle& styleState, const States& states) {
|
||||
inline StatefulStyle operator+(const StatefulStyle& styleState, const States& states) {
|
||||
StatefulStyle styleState2 = styleState;
|
||||
styleState2 += states;
|
||||
return styleState2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user