Removed stray/leftover TODO.
This commit is contained in:
parent
d238e262df
commit
01db831c4c
redo
|
@ -73,7 +73,6 @@ func (a *area) RepaintAll() {
|
||||||
C.SendMessageW(a._hwnd, C.msgAreaRepaintAll, 0, 0)
|
C.SendMessageW(a._hwnd, C.msgAreaRepaintAll, 0, 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO somehow use textfield.preferredSIze() here
|
|
||||||
func (a *area) OpenTextFieldAt(x, y int) {
|
func (a *area) OpenTextFieldAt(x, y int) {
|
||||||
if x < 0 || x >= a.width || y < 0 || y >= a.height {
|
if x < 0 || x >= a.width || y < 0 || y >= a.height {
|
||||||
panic(fmt.Errorf("point (%d,%d) outside Area in Area.OpenTextFieldAt()", x, y))
|
panic(fmt.Errorf("point (%d,%d) outside Area in Area.OpenTextFieldAt()", x, y))
|
||||||
|
|
Loading…
Reference in New Issue