mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
fix crash
This commit is contained in:
parent
eb4eda5029
commit
6e043ed12b
@ -89,7 +89,7 @@
|
||||
"Attributes": {
|
||||
"Stretch": "Stretch",
|
||||
"StretchDirection": "StretchDirection",
|
||||
"Source": "string",
|
||||
"Source": "ImageSource",
|
||||
"IsAnimated": "bool"
|
||||
}
|
||||
},
|
||||
@ -138,7 +138,7 @@
|
||||
"ViewportUnits": "BrushMappingMode",
|
||||
"Viewbox": "Rect",
|
||||
"Viewport": "Rect",
|
||||
"ImageSource": "Source"
|
||||
"ImageSource": "ImageSource"
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -156,6 +156,7 @@
|
||||
"Rect": {},
|
||||
"Brush": {},
|
||||
"Content": {},
|
||||
"ImageSource": {},
|
||||
"Visibility": {
|
||||
"Values": [
|
||||
"Visible",
|
||||
|
@ -328,6 +328,9 @@ namespace Bloxstrap.UI.Elements.Editor
|
||||
|
||||
private void OpenTypeValueAutoComplete(string typeName)
|
||||
{
|
||||
if (CustomBootstrapperSchema.Types.ContainsKey(typeName))
|
||||
throw new Exception($"Schema for type {typeName} is missing. Blame Matt!");
|
||||
|
||||
var typeValues = CustomBootstrapperSchema.Types[typeName].Values;
|
||||
if (typeValues == null)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user