fixed tests
This commit is contained in:
parent
07e196ce3f
commit
9a67ec1329
|
@ -10,11 +10,9 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
-
|
||||
name: Build
|
||||
- name: Build
|
||||
run: |
|
||||
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/5Sigma/codex/releases/latest/download/Codex-installer.sh | sh
|
||||
codex -r docs build
|
||||
|
|
|
@ -9,8 +9,8 @@ fn main() {
|
|||
|
||||
fn root(ctx: &mut ViewContext, theme: Res<Theme>) {
|
||||
let size = ctx.size();
|
||||
ctx.paint(size, theme.bg_primary);
|
||||
ctx.paint(Rect::new((5, 5), size - 10), theme.bg_secondary);
|
||||
ctx.fill_all(theme.bg_primary);
|
||||
ctx.fill(Rect::new((5, 5), size - 10), theme.bg_secondary);
|
||||
ctx.insert((10, 10), "Hello World");
|
||||
ctx.insert(
|
||||
((size.width / 2) - 7, 0),
|
||||
|
|
Loading…
Reference in New Issue