Issue 85: to_local stops working at revision ec5291458f
Status:  Done
Owner:
Closed:  Jun 2010
Project Member Reported by leca...@gmail.com, Aug 4, 2009
the widget.to_local method reports the global coordinates beginning at
revision ec5291458f.

This code reports the same coordinates for both local and global:

# This works in revision 093b58486f
# Stops working at revision ec5291458f

from pymt import *

b = MTButton()
b.pos = (50,50)

@b.event
def on_touch_down(touch):
    print 'Local',b.to_local(touch.x,touch.y),'Global',touch.x,touch.y
w = MTWindow()
w.add_widget(b)
runTouchApp()

Aug 29, 2009
Project Member #1 txprog
(No comment was entered for this change.)
Labels: Component-Core
Aug 29, 2009
Project Member #2 txprog
(No comment was entered for this change.)
Labels: Milestone-0.3
Aug 29, 2009
Project Member #3 txprog
(No comment was entered for this change.)
Labels: Milestone-0.3.1
Oct 29, 2009
Project Member #4 txprog
The behavior have changed in 0.3, it don't take anymore shift of x/y in widget, only
matrix transformation.
Nov 2, 2009
Project Member #5 txprog
(No comment was entered for this change.)
Labels: Milestone-0.4
Dec 30, 2009
Project Member #6 txprog
(No comment was entered for this change.)
Labels: Milestone-0.4.1
Jun 1, 2010
Project Member #7 txprog
(No comment was entered for this change.)
Labels: Milestone-0.5
Jun 26, 2010
Project Member #8 dennd...@gmail.com
For git: 534180cea4bcb81a6900bcd1f3746b607519308c is the first bad commit

Jun 29, 2010
Project Member #9 txprog
fixed, use relative= attribute if you want relative coordinate.
Status: Done