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