core: add film-grain overlay for materials
This commit is contained in:
@@ -12,6 +12,7 @@ gpui-native-utils = { workspace = true }
|
||||
log = "0.4"
|
||||
unicode-segmentation = "1.12"
|
||||
flume = { version = "0.12", optional = true }
|
||||
image = { version = "0.25.1", default-features = false, optional = true }
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
cpal = { version = "0.18", optional = true }
|
||||
@@ -54,6 +55,7 @@ full = [
|
||||
"alert",
|
||||
"toast",
|
||||
"speech",
|
||||
"grain",
|
||||
]
|
||||
button = ["spinner"]
|
||||
checkbox = []
|
||||
@@ -82,8 +84,9 @@ tooltip = []
|
||||
menu = ["scroll_area"]
|
||||
dropdown_menu = ["menu", "button"]
|
||||
select = ["menu"]
|
||||
dialog = ["button", "scroll_area"]
|
||||
dialog = ["button", "scroll_area", "grain"]
|
||||
empty_state = []
|
||||
grain = ["dep:image"]
|
||||
alert = []
|
||||
toast = []
|
||||
speech = ["spinner", "tooltip", "dep:flume", "dep:cpal"]
|
||||
|
||||
Reference in New Issue
Block a user