who knows.
This commit is contained in:
parent
b5227d3af6
commit
f5ea52758b
1 changed files with 0 additions and 3 deletions
|
|
@ -422,7 +422,6 @@ sub canvas
|
||||||
dim canx as long
|
dim canx as long
|
||||||
dim cany as long
|
dim cany as long
|
||||||
|
|
||||||
' Add half a zoomed pixel block to align the mouse tip to the block center
|
|
||||||
canx=int((_mousex-state.offsetx+(state.zoom \ 2))/state.zoom)
|
canx=int((_mousex-state.offsetx+(state.zoom \ 2))/state.zoom)
|
||||||
cany=int((_mousey-state.offsety+(state.zoom \ 2))/state.zoom)
|
cany=int((_mousey-state.offsety+(state.zoom \ 2))/state.zoom)
|
||||||
|
|
||||||
|
|
@ -442,10 +441,8 @@ sub canvas
|
||||||
case 2
|
case 2
|
||||||
do.line state.startx,state.starty,canx,cany,drawcol
|
do.line state.startx,state.starty,canx,cany,drawcol
|
||||||
case 3
|
case 3
|
||||||
' Pass current mouse canvas coordinates directly
|
|
||||||
do.circle state.startx,state.starty,canx,cany,drawcol
|
do.circle state.startx,state.starty,canx,cany,drawcol
|
||||||
case 4
|
case 4
|
||||||
' Pass current mouse canvas coordinates directly
|
|
||||||
do.fcircle state.startx,state.starty,canx,cany,drawcol
|
do.fcircle state.startx,state.starty,canx,cany,drawcol
|
||||||
case 5
|
case 5
|
||||||
do.box state.startx,state.starty,canx,cany,drawcol
|
do.box state.startx,state.starty,canx,cany,drawcol
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue