OS X Cocoa debugger: Autoscroll log window. [Curt Coder]

This commit is contained in:
Curt Coder 2017-01-17 22:28:22 +02:00
parent 6ab31a3944
commit f096bee09b
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
// TODO:
// * Automatic scrolling for console and log views
// * Automatic scrolling for console view
// * Keyboard shortcuts in error log and device windows
// * Don't accept keyboard input while the game is running
// * Interior focus rings - standard/exterior focus rings look really ugly here

View File

@ -184,7 +184,7 @@ static void debugwin_view_update(debug_view &view, void *osdprivate)
- (void)typeCharacterAndScrollToCursor:(char)ch {
debug_view_xy const oldPos = view->cursor_position();
view->process_char(ch);
if (view->cursor_supported() && view->cursor_visible())
if (view->cursor_supported())
{
debug_view_xy const newPos = view->cursor_position();
if ((newPos.x != oldPos.x) || (newPos.y != oldPos.y))