Center the pattern viewport.

This commit is contained in:
Jonathan Moore Liles 2012-02-29 21:28:31 -08:00
parent ca56b8c337
commit 877d08759d
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@ pattern::pattern ( void )
viewport.h = 32; viewport.h = 32;
viewport.w = 32; viewport.w = 32;
viewport.y = 64 - ( viewport.h + ( viewport.h / 2 ) );
_channel = _port = 0; _channel = _port = 0;
_ppqn = 4; _ppqn = 4;