Closed joerick closed 8 years ago
Steps to recreate:
Run this code in the simulator:
import tingbot from tingbot import * screen.fill(color='blue') @touch() def on_touch(xy): screen.fill('black') screen.text('touch: ' + str(xy), color='white') # run the app tingbot.run()
Try clicking the screen. Incorrect coordinates are shown.
Move the simulator window and try again. The correct coordinates are shown.
Steps to recreate:
Run this code in the simulator:
Try clicking the screen. Incorrect coordinates are shown.
Move the simulator window and try again. The correct coordinates are shown.