Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add filled, border_width, editor_only properties to ColorRect #42931

Closed
wants to merge 1 commit into from
Closed

Add filled, border_width, editor_only properties to ColorRect #42931

wants to merge 1 commit into from

Commits on Oct 20, 2020

  1. Add filled, border_width, editor_only properties to ColorRect

    In effect, this merges the functionality behind existing `ReferenceRect`
    into `ColorRect`. This way, `ReferenceRect` can be easily replicated via
    a simple script extending `ColorRect`:
    
    ```gdscript
    @tool
    class_name RefRect extends ColorRect
    
    func _init():
    	color = Color.red
    	filled = false
    	editor_only = true
    ```
    Andrii Doroshenko (Xrayez) committed Oct 20, 2020
    Configuration menu
    Copy the full SHA
    62ccc00 View commit details
    Browse the repository at this point in the history