removed debug prints for scroll

This commit is contained in:
tudnai 2022-12-03 22:03:47 -08:00
parent 52a54feb9a
commit 8ac9378f62
1 changed files with 0 additions and 4 deletions

View File

@ -132,9 +132,7 @@ class DebuggerViewController: NSViewController {
&& location.y < scrollView.frame.maxY
{
if let documentView = scrollView.documentView {
print("scrollEvent b:", deltaY, scrollView.verticalScroller?.floatValue ?? 0)
scrollView.verticalScroller?.floatValue += deltaY / Float(documentView.frame.height)
print("scrollEvent a:", deltaY, scrollView.verticalScroller?.floatValue ?? 0)
}
action()
@ -414,9 +412,7 @@ N V - B D I Z C
func scroll_to_disass(addr: UInt16) {
// print("scroll_to_disass b:", addr, Disass_Scroll.verticalScroller?.floatValue ?? 0)
Disass_Scroll.verticalScroller?.floatValue = Float(addr) / Float(Disass_Display.frame.height)
// print("scroll_to_disass a:", addr, Disass_Scroll.verticalScroller?.floatValue ?? 0)
}