Jim Wilson:
Fix a scrolling problem where last item doesn't show in prop_picker. Removed include for unreferenced header in viewmgr.
This commit is contained in:
parent
b36f19b871
commit
f1d8d554d0
3 changed files with 4 additions and 6 deletions
2
Thanks
2
Thanks
|
@ -454,6 +454,8 @@ Ed Williams <Ed_Williams@compuserve.com>
|
|||
Jim Wilson <jimw@kelcomaine.com>
|
||||
Wrote a major overhaul of the viewer code to make it more flexible
|
||||
and modular. Contributed many small fixes and bug reports.
|
||||
Contributed the the pui property browser.
|
||||
Contributed to the autopilot.
|
||||
|
||||
|
||||
Jean-Claude Wippler <jcw@equi4.com>
|
||||
|
|
|
@ -530,8 +530,8 @@ void fgPropPicker::find_props ()
|
|||
|
||||
// if non-empty list, adjust the size of the slider...
|
||||
if (num_files > 1) {
|
||||
if ((11.0f/(num_files-1)) < 1) {
|
||||
slider->setSliderFraction (11.0f/(num_files-1)) ;
|
||||
if ((11.0f/(num_files)) < 1) {
|
||||
slider->setSliderFraction (11.0f/(num_files)) ;
|
||||
slider->reveal();
|
||||
up_arrow->reveal();
|
||||
down_arrow->reveal();
|
||||
|
@ -607,5 +607,3 @@ fgPropEdit::fgPropEdit ( char *name, char *value, char *proppath ) : puDialogBox
|
|||
|
||||
FG_FINALIZE_PUI_DIALOG( this );
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -25,8 +25,6 @@
|
|||
|
||||
#include <plib/sg.h>
|
||||
|
||||
#include <GUI/sgVec3Slider.hxx> // FIXME: this should NOT be needed
|
||||
|
||||
#include "viewmgr.hxx"
|
||||
#include "fg_props.hxx"
|
||||
|
||||
|
|
Loading…
Reference in a new issue