WorldWindJava icon indicating copy to clipboard operation
WorldWindJava copied to clipboard

AbstractAirspace setDragEnabled always set to true

Open trixon opened this issue 2 years ago • 1 comments

@Override
public void setDragEnabled(boolean enabled)
{
    this.dragEnabled = true;
}

https://github.com/NASAWorldWind/WorldWindJava/blob/ee4d299b1a06f1a0657bad2ca869b2cfde442de4/src/gov/nasa/worldwind/render/airspaces/AbstractAirspace.java#L992

trixon avatar Feb 10 '22 07:02 trixon

The rest of the logic is working ok when using reflection to set it.

https://github.com/trixon/mapton/blob/23a0c840dd86a507a3b2757978bdfe413ed9ecd7/modules/me-worldwind/src/main/java/org/mapton/worldwind/api/LayerBundle.java#L292

trixon avatar Feb 15 '22 08:02 trixon