mirror of
https://github.com/trudnai/Steve2.git
synced 2025-02-15 04:33:47 +00:00
Fixed rendering issues in FullScreen mode
This commit is contained in:
parent
e750244355
commit
3df6b93c9c
@ -191,7 +191,7 @@ class HiRes: NSView {
|
|||||||
func refreshChanged( blockSize : Int ) {
|
func refreshChanged( blockSize : Int ) {
|
||||||
// refresh changed block only
|
// refresh changed block only
|
||||||
|
|
||||||
let screenBlockMargin = 12 / blockSize
|
let screenBlockMargin = 14 / blockSize
|
||||||
|
|
||||||
let blockScreenWidth = CGFloat(frame.width) / CGFloat(HiRes.blockCols) * CGFloat(blockSize)
|
let blockScreenWidth = CGFloat(frame.width) / CGFloat(HiRes.blockCols) * CGFloat(blockSize)
|
||||||
let blockScreenHeigth = CGFloat(frame.height) / CGFloat(HiRes.blockRows)
|
let blockScreenHeigth = CGFloat(frame.height) / CGFloat(HiRes.blockRows)
|
||||||
@ -211,7 +211,7 @@ class HiRes: NSView {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// let pixelTrail = 2 // maybe too fast?
|
// let pixelTrail = 2 // maybe too fast?
|
||||||
// let pixelTrail = 1.5
|
// let pixelTrail = 1.5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user