[Kstars-devel] kdeedu/kstars/kstars
Jason Harris
kstars at 30doradus.org
Sun Jul 25 21:47:30 CEST 2004
CVS commit by harris:
Do not show transient labels if the mouse cursor is below the horizon
and the opaque ground is shown.
CCMAIL: kstars-devel at kde.org
M +5 -1 skymap.cpp 1.143
--- kdeedu/kstars/kstars/skymap.cpp #1.142:1.143
@@ -422,5 +422,9 @@ void SkyMap::slotTransientLabel( void )
//mouseMoveEvent calls fadeTransientLabel(), which will fade out the
//TransientLabel and then set TransientObject to NULL.
- if ( ! slewing ) {
+ //
+ //Do not show a transient label if the map is in motion, or if the mouse
+ //pointer is below the opaque horizon
+ if ( ! slewing && ! ( Options::useAltAz() && Options::showGround() &&
+ mousePoint()->alt()->Degrees() < 0.0 ) ) {
SkyObject *so = objectNearest( mousePoint() );
More information about the Kstars-devel
mailing list