D20437: Make selection scrolling go at 60 fps

kezi noreply at phabricator.kde.org
Thu Apr 11 22:59:58 BST 2019


kezik added a comment.


  In D20437#448397 <https://phabricator.kde.org/D20437#448397>, @ngraham wrote:
  
  > `1000/60` yields a floating-point value. Is it acceptable that std::chrono::milliseconds can be a non-integer value?
  
  
  Being 1000 and 60 integers, an integer division is performed, it really is the same as before, the result of the expression is (int)16. Otherwise the compiler would give a warning.
  
  BTW thanks for the "moral support" on the mailing list!

REPOSITORY
  R223 Okular

REVISION DETAIL
  https://phabricator.kde.org/D20437

To: kezik, #okular, aacid, sander
Cc: sander, ngraham, aacid, ahmedbilal, okular-devel, kezik, joaonetto, tfella, darcyshen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20190411/2f599e00/attachment.html>


More information about the Okular-devel mailing list