GRAPHICS: MACGUI: init the scrollSize and scrollPos at constructor

This commit is contained in:
ysj1173886760 2021-04-18 13:48:11 +08:00 committed by Eugene Sandulenko
parent fa4aaa7608
commit 90b2c02f27

View File

@ -52,6 +52,9 @@ MacWindowBorder::MacWindowBorder() {
_borderOffsets.titleTop = -1;
_borderOffsets.titleBottom = -1;
_borderOffsets.dark = false;
_scrollSize = -1;
_scrollPos = 0;
}
MacWindowBorder::~MacWindowBorder() {