move some common code out into a small static function

Authored by sandsmark on Oct 14 2018, 3:24 PM.

Description

move some common code out into a small static function

Details

Committed
sandsmarkOct 14 2018, 3:28 PM
Parents
R319:0b5bc3ee0218: fix inactive color for scrollbar
Branches
Unknown
Tags
Unknown