mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
Minor fixes
This commit is contained in:
parent
4e9902fab3
commit
82b3575664
@ -216,11 +216,13 @@ thread_run() {
|
||||
|
||||
RELEASE_LOCK(_install_lock);
|
||||
|
||||
if (have_event || install_label != prev_label) {
|
||||
if (override || have_event || install_label != prev_label) {
|
||||
redraw(install_label);
|
||||
override = false;
|
||||
}
|
||||
if (install_progress != prev_progress) {
|
||||
XFillRectangle(_display, _window, _graphics_context, 12, _height - 18,
|
||||
install_progress * (_width - 24), 7);
|
||||
XFlush(_display);
|
||||
} else if (install_progress != prev_progress) {
|
||||
XFillRectangle(_display, _window, _graphics_context, 12, _height - 18,
|
||||
install_progress * (_width - 24), 7);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user