mirror of
https://github.com/h3pdesign/Neon-Vision-Editor
synced 2026-04-21 13:27:16 +00:00
Update v0.4.26 icon assets and build fixes
This commit is contained in:
parent
ec17aac54d
commit
454fb4cc78
6 changed files with 104 additions and 37 deletions
|
|
@ -358,7 +358,7 @@
|
|||
CODE_SIGNING_ALLOWED = YES;
|
||||
CODE_SIGN_IDENTITY = "Apple Development";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 272;
|
||||
CURRENT_PROJECT_VERSION = 273;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
DEVELOPMENT_TEAM = CS727NF72U;
|
||||
ENABLE_APP_SANDBOX = YES;
|
||||
|
|
@ -439,7 +439,7 @@
|
|||
CODE_SIGNING_ALLOWED = YES;
|
||||
CODE_SIGN_IDENTITY = "Apple Development";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 272;
|
||||
CURRENT_PROJECT_VERSION = 273;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
DEVELOPMENT_TEAM = CS727NF72U;
|
||||
ENABLE_APP_SANDBOX = YES;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated by Pixelmator Pro 3.7.1 -->
|
||||
<svg width="1024" height="1024" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Final">
|
||||
<g id="Angle-Brackets">
|
||||
<g id="Left">
|
||||
<path id="Shadow" fill="#c7c7c7" fill-rule="evenodd" stroke="none" d="M 247.263016 590.503174 C 240.194 602.747009 224.537766 606.942078 212.293839 599.873047 L 95.612099 532.506836 C 83.36821 525.437744 79.173119 509.781616 86.242134 497.53772 C 88.724373 493.238342 92.265373 489.931458 96.345673 487.756165 L 212.31459 420.801514 C 224.558487 413.732483 240.214691 417.927612 247.283707 430.171448 C 254.352722 442.415405 250.157669 458.071533 237.913773 465.140564 L 159.620407 510.343262 L 237.893005 555.534058 C 250.136948 562.603027 254.332031 578.259277 247.263016 590.503174 Z"/>
|
||||
<path id="Main" fill="#ffffff" fill-rule="evenodd" stroke="none" d="M 247.176712 582.362122 C 240.107697 594.606079 224.451462 598.801086 212.207535 591.732056 L 95.525795 524.365845 C 83.281906 517.296753 79.086807 501.640625 86.155823 489.396667 C 88.638023 485.097412 92.179008 481.790527 96.259254 479.615234 L 212.228271 412.660522 C 224.472168 405.591492 240.128387 409.78656 247.197403 422.030457 C 254.266418 434.274353 250.071335 449.930542 237.827454 456.999573 L 159.534088 502.202271 L 237.806702 547.393005 C 250.050644 554.462036 254.245728 570.118225 247.176712 582.362122 Z"/>
|
||||
</g>
|
||||
<g id="Right">
|
||||
<path id="path1" fill="#c7c7c7" fill-rule="evenodd" stroke="none" d="M 782.829895 590.503174 C 789.898926 602.747009 805.555176 606.942078 817.799133 599.873047 L 934.480835 532.506836 C 946.724731 525.437744 950.9198 509.781616 943.85083 497.53772 C 941.368591 493.238342 937.827576 489.931458 933.747253 487.756165 L 817.77832 420.801514 C 805.534485 413.732483 789.878235 417.927612 782.809265 430.171448 C 775.740234 442.415405 779.935303 458.071533 792.179199 465.140564 L 870.472534 510.343262 L 792.199951 555.534058 C 779.955994 562.603027 775.760925 578.259277 782.829895 590.503174 Z"/>
|
||||
<path id="path2" fill="#ffffff" fill-rule="evenodd" stroke="none" d="M 782.829895 582.419189 C 789.898926 594.663086 805.555176 598.858154 817.799133 591.789063 L 934.480835 524.422852 C 946.724731 517.353882 950.9198 501.697693 943.85083 489.453735 C 941.368591 485.154358 937.827576 481.847473 933.747253 479.672241 L 817.77832 412.71759 C 805.534485 405.64856 789.878235 409.843628 782.809265 422.087524 C 775.740234 434.331421 779.935303 449.98761 792.179199 457.05658 L 870.472534 502.259338 L 792.199951 547.450073 C 779.955994 554.519104 775.760925 570.175293 782.829895 582.419189 Z"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.7 KiB |
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated by Pixelmator Pro 3.7.1 -->
|
||||
<svg width="1024" height="1024" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Final">
|
||||
<g id="Pencil" style="isolation:isolate">
|
||||
<path id="Raw-Pencil-Shape" fill="#cc0000" fill-rule="evenodd" stroke="none" visibility="hidden" d="M 640.340088 741.540771 C 641.302429 743.072632 642.747864 744.364014 644.513733 745.112305 L 847.401489 831.080444 C 851.332214 832.745972 855.361694 831.089294 856.401611 827.380127 C 856.522949 826.947388 856.598206 826.505859 856.630249 826.060791 C 856.781555 824.823669 856.599182 823.476746 856.033325 822.141235 L 770.156677 619.46936 C 769.478699 617.869385 768.354797 616.532349 767.010132 615.579468 C 763.388733 609.77771 759.056519 604.29303 754.013489 599.25 L 353.878387 199.114868 C 318.099274 163.335754 260.089905 163.335754 224.310806 199.114868 C 188.531708 234.893982 188.531723 292.90332 224.310806 328.682434 L 624.445923 728.817566 C 629.36261 733.734253 634.699158 737.975342 640.340088 741.540771 Z"/>
|
||||
<g id="Pencil-Tip-Base">
|
||||
<path id="Pencil-Tip-Base-Right" fill="#b39276" fill-rule="evenodd" stroke="none" d="M 785.942383 805.038818 C 795.961792 800.334778 804.90094 794.159851 812.604736 786.456055 C 819.860352 779.200439 825.759766 770.84906 830.351501 761.531372 L 770.156677 619.46936 C 769.952637 618.987793 769.708191 618.530029 769.429443 618.099426 C 767.802124 625.864502 764.047729 633.040161 757.824341 639.26355 C 750.189087 646.898804 740.455688 651.482422 729.791138 653.149231 C 728.124268 663.813843 718.777161 678.310669 711.141907 685.945923 C 703.506653 693.581177 689.009766 702.928345 678.345154 704.595215 C 676.678345 715.259766 672.094666 724.993164 664.459473 732.628418 C 658.158508 738.929321 650.88147 742.699341 643.004883 744.293335 C 643.475586 744.610352 643.97998 744.886108 644.513733 745.112305 L 785.942383 805.038818 L 785.942383 805.038818 Z"/>
|
||||
<path id="Pencil-Tip-Base-Left" fill="#fceacc" fill-rule="evenodd" stroke="none" d="M 711.141907 685.945923 C 718.777161 678.310669 728.124268 663.813843 729.791138 653.149231 C 740.455688 651.482422 750.189087 646.898804 757.824341 639.26355 C 764.047729 633.040161 767.802124 625.864502 769.429443 618.099426 C 769.708191 618.530029 769.952637 618.987793 770.156677 619.46936 L 830.351501 761.531372 C 825.759766 770.84906 819.860352 779.200439 812.604736 786.456055 C 812.445862 786.614929 812.286499 786.773132 812.126587 786.930664 L 711.141907 685.945923 Z"/>
|
||||
<path id="Pencil-Tip-Base-Center" fill="#e6c8aa" fill-rule="evenodd" stroke="none" d="M 855 829.804077 L 727.33783 646.885132 L 672.081055 702.141907 Z"/>
|
||||
</g>
|
||||
<g id="Pencil-Base">
|
||||
<path id="Pencil-Base-Color-Right" fill="#f0b600" fill-rule="evenodd" stroke="none" d="M 719.716187 694.520264 C 712.080994 702.155518 698.536804 710.549927 687.872192 712.216797 C 686.205383 722.881348 685.432495 728.803955 677.797302 736.439209 C 671.320251 742.91626 663.333496 747.197205 654.549194 749.364502 L 644.513733 745.112305 C 642.747864 744.364014 641.302429 743.072632 640.340088 741.540771 C 634.699158 737.975342 629.36261 733.734253 624.445923 728.817566 L 224.310806 328.682434 C 188.531723 292.90332 188.531708 234.893982 224.310806 199.114868 L 719.716187 694.520264 Z"/>
|
||||
<path id="Pencil-Base-Color-Left" fill="#ffef00" fill-rule="evenodd" stroke="none" d="M 224.310806 199.114868 C 260.089905 163.335754 318.099274 163.335754 353.878387 199.114868 L 754.013489 599.25 C 759.056519 604.29303 763.388733 609.77771 767.010132 615.579468 C 768.354797 616.532349 769.478699 617.869385 770.156677 619.46936 L 774.480347 629.673584 C 772.288574 638.331665 768.033325 646.203186 761.635132 652.601318 C 753.999878 660.236572 748.077332 661.009399 737.41272 662.67627 C 735.745911 673.34082 727.351501 686.88501 719.716187 694.520264 L 224.310806 199.114868 Z"/>
|
||||
<path id="Pencil-Base-Color-Center" fill="#ffd900" fill-rule="evenodd" stroke="none" d="M 280.20462 200.383179 C 264.419739 184.598328 241.601776 183.729309 229.531128 195.799927 C 225.263519 200.067566 225.263519 200.067566 220.995895 204.335205 C 208.925293 216.405762 209.794266 239.223816 225.579147 255.008667 L 673.349426 702.778931 C 689.134338 718.563843 703.867554 710.368958 718.009155 696.227295 L 721.423279 692.813232 C 735.56488 678.671631 743.759766 663.938354 727.974915 648.153442 Z"/>
|
||||
</g>
|
||||
<linearGradient id="linearGradient1" x1="499.243062" y1="104.96505" x2="561.182261" y2="110.056853" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-0.707107 0.707107 -0.707107 -0.707107 1259.097797 484.55561)">
|
||||
<stop offset="0" stop-color="#f470a7" stop-opacity="1"/>
|
||||
<stop offset="0.400658" stop-color="#f684b6" stop-opacity="1"/>
|
||||
<stop offset="1" stop-color="#b53b71" stop-opacity="1"/>
|
||||
</linearGradient>
|
||||
<path id="Pencil-Tip" fill="url(#linearGradient1)" fill-rule="evenodd" stroke="none" d="M 785.942322 805.038818 C 795.961792 800.334717 804.90094 794.159851 812.604736 786.456055 C 819.860352 779.200439 825.759766 770.848999 830.351563 761.531372 L 856.033325 822.141235 C 856.599182 823.476746 856.781555 824.823669 856.630249 826.060791 C 856.598206 826.505859 856.522949 826.947388 856.401611 827.380127 C 855.361694 831.089294 851.332214 832.745972 847.401489 831.080444 L 785.942322 805.038818 Z"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.4 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2 MiB |
|
|
@ -20,50 +20,55 @@
|
|||
},
|
||||
{
|
||||
"appearance" : "dark",
|
||||
"value" : {
|
||||
"linear-gradient" : [
|
||||
"srgb:0.10980,0.10980,0.11765,1.00000",
|
||||
"srgb:0.10980,0.10980,0.11765,1.00000"
|
||||
],
|
||||
"orientation" : {
|
||||
"start" : {
|
||||
"x" : 0.5,
|
||||
"y" : 0
|
||||
},
|
||||
"stop" : {
|
||||
"x" : 0.5,
|
||||
"y" : 0.7
|
||||
}
|
||||
}
|
||||
}
|
||||
"value" : "system-dark"
|
||||
}
|
||||
],
|
||||
"groups" : [
|
||||
{
|
||||
"blur-material" : null,
|
||||
"hidden" : false,
|
||||
"layers" : [
|
||||
{
|
||||
"blend-mode" : "darken",
|
||||
"fill" : "none",
|
||||
"hidden" : false,
|
||||
"image-name" : "foreground.png",
|
||||
"name" : "foreground",
|
||||
"position" : {
|
||||
"scale" : 1.38,
|
||||
"translation-in-points" : [
|
||||
0,
|
||||
-5
|
||||
]
|
||||
}
|
||||
"image-name" : "Pencil 2.svg",
|
||||
"name" : "Pencil"
|
||||
}
|
||||
],
|
||||
"lighting" : "individual",
|
||||
"opacity" : 1,
|
||||
"name" : "Pencil",
|
||||
"position" : {
|
||||
"scale" : 1.05,
|
||||
"translation-in-points" : [
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
"shadow" : {
|
||||
"kind" : "layer-color",
|
||||
"kind" : "neutral",
|
||||
"opacity" : 0.5
|
||||
},
|
||||
"translucency" : {
|
||||
"enabled" : true,
|
||||
"value" : 0.25
|
||||
}
|
||||
},
|
||||
{
|
||||
"hidden" : false,
|
||||
"layers" : [
|
||||
{
|
||||
"image-name" : "Angle Brackets 2.svg",
|
||||
"name" : "Angle Brackets"
|
||||
}
|
||||
],
|
||||
"name" : "Angle Brackets",
|
||||
"position" : {
|
||||
"scale" : 1.05,
|
||||
"translation-in-points" : [
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
"shadow" : {
|
||||
"kind" : "neutral",
|
||||
"opacity" : 0.5
|
||||
},
|
||||
"specular" : true,
|
||||
"translucency" : {
|
||||
"enabled" : true,
|
||||
"value" : 0.5
|
||||
|
|
@ -76,4 +81,4 @@
|
|||
],
|
||||
"squares" : "shared"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -135,6 +135,12 @@ struct ContentView: View {
|
|||
@State var droppedFileLoadProgress: Double = 0
|
||||
@State var droppedFileLoadLabel: String = ""
|
||||
@State var largeFileModeEnabled: Bool = false
|
||||
#if os(iOS)
|
||||
@AppStorage("SettingsForceLargeFileMode") var forceLargeFileMode: Bool = false
|
||||
@AppStorage("SettingsShowKeyboardAccessoryBarIOS") var showKeyboardAccessoryBarIOS: Bool = true
|
||||
@AppStorage("SettingsShowBottomActionBarIOS") var showBottomActionBarIOS: Bool = true
|
||||
@AppStorage("SettingsUseLiquidGlassToolbarIOS") var shouldUseLiquidGlass: Bool = true
|
||||
#endif
|
||||
@AppStorage("HasSeenWelcomeTourV1") var hasSeenWelcomeTourV1: Bool = false
|
||||
@AppStorage("WelcomeTourSeenRelease") var welcomeTourSeenRelease: String = ""
|
||||
@State var showWelcomeTour: Bool = false
|
||||
|
|
@ -157,6 +163,11 @@ struct ContentView: View {
|
|||
var activeProviderName: String { lastProviderUsed }
|
||||
#if os(macOS)
|
||||
private let bracketHelperTokens: [String] = ["(", ")", "{", "}", "[", "]", "<", ">", "'", "\"", "`", "()", "{}", "[]", "\"\"", "''"]
|
||||
#elseif os(iOS)
|
||||
var primaryGlassMaterial: Material { .ultraThinMaterial }
|
||||
var toolbarFallbackColor: Color { Color(.systemBackground) }
|
||||
var toolbarDensityScale: CGFloat { 1.0 }
|
||||
var toolbarDensityOpacity: Double { 1.0 }
|
||||
#endif
|
||||
|
||||
var selectedModel: AIModel {
|
||||
|
|
@ -1096,14 +1107,24 @@ struct ContentView: View {
|
|||
}
|
||||
}
|
||||
|
||||
private func updateLargeFileMode(for text: String) {
|
||||
func updateLargeFileMode(for text: String) {
|
||||
#if os(iOS)
|
||||
let isLarge = forceLargeFileMode || text.utf8.count >= 2_000_000
|
||||
#else
|
||||
let isLarge = text.utf8.count >= 2_000_000
|
||||
#endif
|
||||
if largeFileModeEnabled != isLarge {
|
||||
largeFileModeEnabled = isLarge
|
||||
scheduleHighlightRefresh()
|
||||
}
|
||||
}
|
||||
|
||||
func recordDiagnostic(_ message: String) {
|
||||
#if DEBUG
|
||||
print("[NVE] \(message)")
|
||||
#endif
|
||||
}
|
||||
|
||||
func adjustEditorFontSize(_ delta: Double) {
|
||||
let clamped = min(28, max(10, editorFontSize + delta))
|
||||
if clamped != editorFontSize {
|
||||
|
|
|
|||
Loading…
Reference in a new issue