9chu/fancy2d

bug in f2dWindowImpl::MoveToCenter

Xrysnow opened this issue · 1 comments

问题:

  • 当窗口矩形高度为奇数(常见于Windows10)时,MoveToCenter会错误地计算新的窗口矩形,导致实际画面高度少1。
    fuInt tHalfH = (int)tRect.GetHeight() / 2;

😅

9chu commented

Fixed