Drop Prism, it doesn't work, so just don't use it
This commit is contained in:
parent
5366422ea7
commit
ded7d47e1e
8 changed files with 20 additions and 20 deletions
|
@ -3,7 +3,7 @@ Title: Setting Menus
|
|||
Type: Document
|
||||
---
|
||||
|
||||
import {Prism} from "@astrojs/prism"
|
||||
import {Code} from "astro:components"
|
||||
import {Zorn} from "@minpluto/zorn"
|
||||
|
||||
## Automated items
|
||||
|
@ -12,7 +12,7 @@ When enabling certain functions and features of Zorn, certain items will automat
|
|||
|
||||
However, if you don't have your items added at all with no `Settings` variable setup, the Settings icon is setup to not be shown. So if you decide to enable these other functions and features without creating a custom settings menu, at least create a blank one:
|
||||
|
||||
<Prism lang="jsx" code={`
|
||||
<Code lang="jsx" code={`
|
||||
<Zorn
|
||||
Settings={[{"Type": "Button","Name": "","Action": "null"}}
|
||||
/>
|
||||
|
@ -22,7 +22,7 @@ However, if you don't have your items added at all with no `Settings` variable s
|
|||
|
||||
To setup the settings menu with your own custom items, you'll need to setup an array within the Zorn player, here's a quick example:
|
||||
|
||||
<Prism lang="jsx" code={`
|
||||
<Code lang="jsx" code={`
|
||||
<Zorn
|
||||
Settings={
|
||||
[
|
||||
|
@ -57,7 +57,7 @@ You can also enable the "Quality" menu, doing so will automatically add this to
|
|||
|
||||
You can set what resolutions are available and set the `onclick` action for it:
|
||||
|
||||
<Prism lang="jsx" code={`
|
||||
<Code lang="jsx" code={`
|
||||
<Zorn
|
||||
Quality={
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue