Переглянути джерело

Due to IE=11 it can now use .svg's in the help file so don't need the extlink.png's anymore. Doesn't need a special dark mode extlink.svg because the svg's work in both modes.

Martijn Laan 1 рік тому
батько
коміт
e8298d190a

+ 2 - 2
ISHelp/ISHelpGen/ISHelpGen.dpr

@@ -14,7 +14,7 @@ uses
   PathFunc in '..\..\Components\PathFunc.pas';
 
 const
-  Version = '1.16';
+  Version = '1.17';
 
   XMLFileVersion = '1';
 
@@ -395,7 +395,7 @@ begin
           if Pos('ms-its:', S) = 1 then
             Result := Result + Format('<a href="%s">%s</a>', [S, ParseFormattedText(Node)])
           else
-            Result := Result + Format('<a href="%s" target="_blank" title="%s">%s</a><img src="images/extlink.png" srcset="images/extlink.svg" alt=" [external link]" />',
+            Result := Result + Format('<a href="%s" target="_blank" title="%s">%s</a><img src="images/extlink.svg" alt=" [external link]" />',
               [S, S, ParseFormattedText(Node)]);
         end;
       elHeading:

+ 1 - 0
ISHelp/Staging-dark/images/.gitignore

@@ -0,0 +1 @@
+extlink.svg

BIN
ISHelp/Staging-dark/images/extlink.png


BIN
ISHelp/Staging/images/extlink.png


+ 1 - 0
ISHelp/synch-darkfiles.bat

@@ -7,6 +7,7 @@ echo - Synching files from Staging to Staging-dark
 copy Staging\hh_project.hhp Staging-dark
 copy Staging\stoplist.stp Staging-dark
 copy Staging\topic.js Staging-dark
+copy Staging\images\extlink.svg Staging-dark\images\extlink.svg
 
 echo - Synching files done