More work
This commit is contained in:
parent
160b7fe06e
commit
95a6836a65
1 changed files with 1 additions and 1 deletions
|
|
@ -592,7 +592,7 @@ begin
|
|||
end;
|
||||
|
||||
// clamp the scroll offset to the actual content height
|
||||
MaxScrollY:=Max(0.0,(fContentHeight+(Margin*2.0))-fVulkanCanvas.Height);
|
||||
MaxScrollY:=Math.Max(0.0,(fContentHeight+(Margin*2.0))-fVulkanCanvas.Height);
|
||||
if fKeyUp<>fKeyDown then begin
|
||||
fScrollY:=fScrollY+((aDeltaTime*128.0)*(((ord(fKeyDown) and 1)*2)-1));
|
||||
end else if fKeyPageUp<>fKeyPageDown then begin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue