버그 수정
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using UnityEditor;
|
||||
|
||||
namespace FullscreenEditor {
|
||||
[InitializeOnLoad]
|
||||
// Issues #98 #96 #97 and #99
|
||||
public class GameViewLowResolutionAspectRatios {
|
||||
|
||||
static GameViewLowResolutionAspectRatios() {
|
||||
FullscreenCallbacks.afterFullscreenOpen += fs => {
|
||||
var window = fs.ActualViewPyramid.Window;
|
||||
|
||||
if (window && window.HasProperty("lowResolutionForAspectRatios"))
|
||||
window.SetPropertyValue("lowResolutionForAspectRatios", false);
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user