good point, since the modifiers in future (already available with type())
should be strings anyway.
So I just changed the API at the Java level from int to Integer, which now
allows to use None at the script level.
BTW:
--- since that is usually the default behavior of an optional argument
...
** Summary changed:
- Allow click() to accept and ignore 'None' as a modifier
+ [1.0.1] Allow click() to accept and ignore 'None' as a modifier --- fixed
2015-05-02+
** Changed in: sikuli
Status: New = Fix Committed
** Changed in: sikuli
Importance: Undecided = Critical
** Changed
That makes sense, I didn't think about how that would look in Java,
though I did initially check to see if any of the click() code was in
Jython.
I was hesitant to split the call with an if statement (if modifier or
not) since the logic is more complex than my trivial example, and the
click is
3 matches
Mail list logo