Merge pull request #5 from lambdacasserole/screen-size-fix

Get actual screen size rather than viewport size
This commit is contained in:
Saul Johnson
2017-08-14 12:47:07 +01:00
committed by GitHub
+2 -2
View File
@@ -1,7 +1,7 @@
$(document).ready ->
# Screen dimensions.
screenWidth = window.screen.availWidth
screenHeight = window.screen.availHeight
screenWidth = window.screen.width
screenHeight = window.screen.height
# Wallpaper color attributes.
foregroundColor = 'ce3838'