Home
Phabricator
Search
Log In
Differential
D12977
Diff 35006
plugins/dockers/animation/timeline_frames_view.cpp
Changeset View
I would prefer to use a ternary 'if' operator in this case. That would let you use 'const' restriction on a variable, which helps in understanding the code later.
But I know that the use of ternary operator is much of a matter of taste. You can use whatever version you like yourself :)