Fixed Frame parsing
This commit is contained in:
36
.github/workflows/main.yml
vendored
36
.github/workflows/main.yml
vendored
@@ -7,8 +7,6 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- 'src/**'
|
- 'src/**'
|
||||||
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
pages: write
|
pages: write
|
||||||
@@ -87,4 +85,36 @@ jobs:
|
|||||||
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
|
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
|
||||||
git add config.lua src/LuaLS.lua release/basalt.lua CHANGELOG.md
|
git add config.lua src/LuaLS.lua release/basalt.lua CHANGELOG.md
|
||||||
git commit -m "Update config, LuaLS definitions, bundle and changelog" || exit 0
|
git commit -m "Update config, LuaLS definitions, bundle and changelog" || exit 0
|
||||||
git push
|
git push
|
||||||
|
|
||||||
|
# Step 8: Build VitePress site
|
||||||
|
- name: Setup Node
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 20
|
||||||
|
cache: npm
|
||||||
|
|
||||||
|
- name: Setup Pages
|
||||||
|
uses: actions/configure-pages@v4
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
|
- name: Build with VitePress
|
||||||
|
run: npm run docs:build
|
||||||
|
|
||||||
|
- name: Upload artifact
|
||||||
|
uses: actions/upload-pages-artifact@v3
|
||||||
|
with:
|
||||||
|
path: docs/.vitepress/dist
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
environment:
|
||||||
|
name: github-pages
|
||||||
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
|
needs: build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Deploy to GitHub Pages
|
||||||
|
id: deployment
|
||||||
|
uses: actions/deploy-pages@v4
|
||||||
@@ -16,7 +16,7 @@ Frame.defineProperty(Frame, "draggable", {default = false, type = "boolean", set
|
|||||||
self:listenEvent("mouse_drag", true)
|
self:listenEvent("mouse_drag", true)
|
||||||
end
|
end
|
||||||
end})
|
end})
|
||||||
---@property draggingMap table {{x=1, y=1, width="width", height=1}} The map of dragging positions
|
---@property draggingMap table {} The map of dragging positions
|
||||||
Frame.defineProperty(Frame, "draggingMap", {default = {{x=1, y=1, width="width", height=1}}, type = "table"})
|
Frame.defineProperty(Frame, "draggingMap", {default = {{x=1, y=1, width="width", height=1}}, type = "table"})
|
||||||
|
|
||||||
--- Creates a new Frame instance
|
--- Creates a new Frame instance
|
||||||
|
|||||||
Reference in New Issue
Block a user