~ubuntu-branches/ubuntu/utopic/sikuli/utopic

« back to all changes in this revision

Viewing changes to sikuli-ide/src/main/java/org/sikuli/ide/ImageButton.java

  • Committer: Bazaar Package Importer
  • Author(s): Gilles Filippini
  • Date: 2011-04-16 00:23:53 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110416002353-cn79cto3c03z5jx1
Tags: 1.0~x~rc2-dfsg1-1
* New upstream release:
  + Redesigned user interface for Sikuli-IDE
  + Support for extensions for Sikuli Script

* debian/control, debian/copyright:
  The package is now maintained by the Debian Java maintainers Team

Show diffs side-by-side

added added

removed removed

Lines of Context:
211
211
      String ret = "";
212
212
      if(_exact)
213
213
         ret += ".exact()";
214
 
      if(_similarity != DEFAULT_SIMILARITY)
 
214
      if(_similarity != DEFAULT_SIMILARITY && !_exact)
215
215
         ret += String.format(Locale.ENGLISH, ".similar(%.2f)", _similarity);
216
216
      if(_offset != null && (_offset.x!=0 || _offset.y!=0))
217
217
         ret += ".targetOffset(" + _offset.x + "," + _offset.y +")";