Skip to content

Commit

Permalink
Add Path2DControlPoint.new to roblox_base.yml (#605)
Browse files Browse the repository at this point in the history
this lint works fine for the majority. besides this bellow, it'll
require all 3 args if the second one is present
Path2DControlPoint.new(UDim2.new(), UDim2.new()) -- RUNTIME ERROR
any way to lint for that
  • Loading branch information
Stenimated authored Jun 24, 2024
1 parent a7b4a53 commit 96727f6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased](https://github.com/Kampfkarren/selene/compare/0.27.1...HEAD)
### Added
- Added `Path2DControlPoint.new` to the Roblox standard library

## [0.27.1](https://github.com/Kampfkarren/selene/releases/tag/0.27.1) - 2024-04-28
### Fixed
Expand Down
12 changes: 12 additions & 0 deletions selene-lib/default_std/roblox_base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,18 @@ globals:
OverlapParams.new:
args: []
must_use: true
Path2DControlPoint.new:
args:
- required: false
type:
display: UDim2
- required: false
type:
display: UDim2
- required: false
type:
display: UDim2
must_use: true
PathWaypoint.new:
args:
- required: false
Expand Down

0 comments on commit 96727f6

Please sign in to comment.