• R/O
  • HTTP
  • SSH
  • HTTPS

common_source_project-fm7: Commit

Common Source Code Project for Qt (a.k.a for FM-7).


Commit MetaInfo

Revisionc706f430206a6e48b85ea4ff222c2d5ff4488eb9 (tree)
Time2018-05-09 20:41:24
AuthorK.Ohta <whatisthis.sowhat@gmai...>
CommiterK.Ohta

Log Message

[Qt][Draw] Fix drawing timing.

Change Summary

Incremental Difference

--- a/source/src/qt/gui/draw_thread.cpp
+++ b/source/src/qt/gui/draw_thread.cpp
@@ -115,9 +115,9 @@ void DrawThreadClass::doWork(const QString &param)
115115 }
116116 if(wait_count <= 0.0f) {
117117 wait_count = wait_count + _rate;
118- } else if(wait_count < 10.0) {
118+ } else if(wait_count < 7.0) {
119119 msleep(10);
120- wait_count = wait_count + _rate - 5.0;
120+ wait_count = wait_count + _rate - 7.0;
121121 } else {
122122 wait_factor = (int)wait_count;
123123 msleep(wait_factor);
Show on old repository browser