Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Rishabh Gupta
purr-data
Commits
8aac4a7b
Commit
8aac4a7b
authored
Apr 02, 2013
by
Ivica Bukvic
Browse files
hopefully fixed the scrolling algorithm once and for all (don't hold your breath)
parent
633035bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/pd.tk
View file @
8aac4a7b
...
...
@@ -3579,8 +3579,8 @@ proc pdtk_canvas_getscroll {name} {
set
::
xscrollable
($
parentname
)
0
pack
forget
$
parentname
.
scrollvert
set
::
yscrollable
($
parentname
)
0
set
winwidth
[
expr
{$
winwidth
+
14
}]
set
winheight
[
expr
{$
winheight
+
14
}]
#
set
winwidth
[
expr
{$
winwidth
+
14
}]
#
set
winheight
[
expr
{$
winheight
+
14
}]
}
if
{$
winwidth
>=
$
canvaswidth
&&
$::
xscrollable
($
parentname
)}
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment