Skip to content

Commit

Permalink
Call transition_combined_duration_at to get combined duration instead…
Browse files Browse the repository at this point in the history
… of calculating directly
  • Loading branch information
Hiroyuki Ikezoe committed Jan 4, 2018
1 parent 18a99e5 commit cd56223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/style/properties/gecko.mako.rs
Expand Up @@ -3333,7 +3333,7 @@ fn static_assert() {
use gecko_bindings::structs::nsCSSPropertyID::eCSSPropertyExtra_all_properties;
if self.gecko.mTransitionPropertyCount == 1 &&
self.gecko.mTransitions[0].mProperty == eCSSPropertyExtra_all_properties &&
self.gecko.mTransitions[0].mDuration.max(0.0) + self.gecko.mTransitions[0].mDelay <= 0.0f32 {
self.transition_combined_duration_at(0) <= 0.0f32 {
return false;
}

Expand Down

0 comments on commit cd56223

Please sign in to comment.