For Todo: #138764 This follows a fix that tried to address this issue, but got negative feedback #139398 At certain zoom levels the animation editors in 4.5 would draw lines on subframes. The previous patch fixed that by drawing less lines, but that got pushback from artists. This patch restores the previous behavior, but ensures that major lines are *always* drawn on even frame numbers, thus allowing minor lines to be drawn between them on full frames. Pull Request: https://projects.blender.org/blender/blender/pulls/142858