mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
shellwindow: reduce update interval
Origin commit data
------------------
Branch: ni/coolstream
Commit: edab27be92
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
committed by
vanhofen
parent
5c450dc558
commit
10bd8e6785
@@ -197,7 +197,7 @@ void CShellWindow::exec()
|
||||
now = time_monotonic_ms();
|
||||
if (lines.size() > lines_max)
|
||||
lines.pop_front();
|
||||
if (((lines_read >= lines_max) && (lastPaint + 100 < now)) || (lastPaint + 250 < now)) {
|
||||
if (((lines_read >= lines_max) && (lastPaint + 100 < now)) || (lastPaint + 500 < now)) {
|
||||
txt = lines2txt(lines);
|
||||
textBox->setText(&txt, textBox->getWindowsPos().iWidth, false);
|
||||
if (!textBox->isPainted())
|
||||
@@ -213,7 +213,7 @@ void CShellWindow::exec()
|
||||
ok = false;
|
||||
|
||||
now = time_monotonic_ms();
|
||||
if (!ok || (r < 1 && dirty && lastPaint + 250 < now)) {
|
||||
if (!ok || (r < 1 && dirty && lastPaint + 500 < now)) {
|
||||
txt = lines2txt(lines);
|
||||
textBox->setText(&txt, textBox->getWindowsPos().iWidth, false);
|
||||
if (!textBox->isPainted())
|
||||
|
Reference in New Issue
Block a user