attach icon indicating copy to clipboard operation
attach copied to clipboard

com.gluonhq.attach.position.Parameters has a bad constructor

Open nlisker opened this issue 3 years ago • 0 comments

The Accuracy enum encapsulates predefined distance and time filters. Parameters can either take an Parameters (which it does), or take custom time and distance parameters. The problem is that there is a constructor that takes both an accuracy and time and distance parameters, making the accuracy meaningless.

I think that this constructor should be deprecated in favor of a (time, distance, background) constructor. getAccuracy() will return null in this case.

nlisker avatar Jun 08 '22 23:06 nlisker