mirror of
https://github.com/trudnai/Steve2.git
synced 2025-04-03 09:31:32 +00:00
Fixed Full graphics screen clearing issues
This commit is contained in:
parent
9871cb3886
commit
9c4abe97c5
@ -600,10 +600,10 @@ class ViewController: NSViewController {
|
||||
// self.hires.setNeedsDisplay( CGRect(x: 400, y: 600, width: 50, height: 50) )
|
||||
// self.hires.setNeedsDisplay( CGRect(x: 500, y: 600, width: 50, height: 50) )
|
||||
|
||||
if self.savedVideoMode.text != videoMode.text {
|
||||
self.savedVideoMode.text = videoMode.text
|
||||
if self.savedVideoMode.mode != videoMode.mode {
|
||||
self.savedVideoMode.mode = videoMode.mode
|
||||
|
||||
// self.hires.clearScreen()
|
||||
self.hires.clearScreen()
|
||||
|
||||
if ( videoMode.text == 0 ) {
|
||||
self.hires.isHidden = false
|
||||
@ -612,7 +612,7 @@ class ViewController: NSViewController {
|
||||
self.hires.isHidden = true
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// only refresh graphics view when needed (aka not in text mode)
|
||||
if ( videoMode.text == 0 ) {
|
||||
// self.hires.needsDisplay = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user