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