Show red bezel in editor, black in-game

This commit is contained in:
Luke Hubmayer-Werner 2019-12-21 11:08:23 +10:30
parent e689a2bf7e
commit b2c4d780b3
1 changed files with 1 additions and 2 deletions

View File

@ -12,8 +12,7 @@ func arc_point_list(center: Vector2, radius: float, angle_from:=0.0, angle_to:=3
return point_list
func _draw():
# var bezel_colors := PoolColorArray([GameTheme.bezel_color])
var bezel_colors := PoolColorArray([Color.red])
var bezel_colors := PoolColorArray([GameTheme.bezel_color if not Engine.editor_hint else Color.red])
var bezel_points: PoolVector2Array
var screen_size = $"/root".get_visible_rect().size