2
0
Эх сурвалжийг харах

Comment e8298d19 said "Due to IE=11 it can now use .svg's in the help file so don't need the extlink.png's anymore.". But actually, this isn't working for me anymore. It does display something but its only a few pixels and not the proper icon. Reverting.

Martijn Laan 2 өдөр өмнө
parent
commit
03ef4b2a45

+ 2 - 2
ISHelp/ISHelpGen/ISHelpGen.dpr

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

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

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

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


BIN
ISHelp/Staging/images/extlink.png


+ 0 - 1
ISHelp/synch-darkfiles.bat

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