Skip to content

Commit ce73c2d

Browse files
committed
Merge af23572 into merged_master (Elements PR #860)
2 parents 2016bea + af23572 commit ce73c2d

File tree

3 files changed

+32
-21
lines changed

3 files changed

+32
-21
lines changed

src/Makefile.am

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ EXTRA_DIST += $(RES_RENDERED_ICON_SRC) $(RES_ALL_RENDERED_ICONS)
792792
if CAN_RENDER_ICONS
793793

794794
qt/res/rendered_icons/about.png: qt/res/rendered_icons/about.svg
795-
$(RSVG_CONVERT) -f png -d 142 -p 142 < $< | $(IMAGEMAGICK_CONVERT) - -crop 64x78+0+31 -bordercolor transparent -border 7x0 -colorspace Gray -strip $@
795+
$(RSVG_CONVERT) -f png -d 142 -p 142 < $< | $(IMAGEMAGICK_CONVERT) - -bordercolor transparent -colorspace Gray -strip $@
796796

797797
qt/res/rendered_icons/about.svg: qt/res/src/bitcoin.svg
798798
@$(MKDIR_P) $(@D)
@@ -813,14 +813,14 @@ qt/res/rendered_icons/bitcoin.ico: qt/res/rendered_icons/bitcoin32d8.gif $(patsu
813813
$(IMAGEMAGICK_CONVERT) $^ $@
814814

815815
qt/res/rendered_icons/bitcoin_testnet.ico: qt/res/rendered_icons/bitcoin.ico
816-
$(IMAGEMAGICK_CONVERT) $^ -modulate 100,87,9 $@
816+
$(IMAGEMAGICK_CONVERT) $^ $@
817817

818818
qt/res/rendered_icons/nsis-wizard.svg: qt/res/src/bitcoin.svg
819819
@$(MKDIR_P) $(@D)
820820
sed '/fill="#000"/d' < $< > $@
821821

822822
qt/res/rendered_icons/nsis-wizard.bmp: qt/res/rendered_icons/nsis-wizard.svg
823-
$(RSVG_CONVERT) -f png -d 360 -p 360 < $< | $(IMAGEMAGICK_CONVERT) - -crop 164x290+0+35 -border 0x12 -strip BMP3:$@
823+
$(RSVG_CONVERT) -f png -d 360 -p 360 < $< | $(IMAGEMAGICK_CONVERT) - -strip BMP3:$@
824824

825825
endif
826826

src/qt/res/src/bitcoin.svg

Lines changed: 28 additions & 17 deletions
Loading

src/qt/splashscreen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ SplashScreen::SplashScreen(interfaces::Node& node, Qt::WindowFlags f, const Netw
6565

6666
// draw the bitcoin icon, expected size of PNG: 1024x1024
6767
int _32 = 32 / devicePixelRatio;
68-
QRect rectIcon(QPoint(_32,-_32/2), QSize(pixmap.size().height()/devicePixelRatio+_32*2,pixmap.size().height()/devicePixelRatio+_32*2));
68+
QRect rectIcon(QPoint(0, 0), QSize(pixmap.size().height()/(2*devicePixelRatio)+_32*2, pixmap.size().height()/(2 * devicePixelRatio)+_32*2));
6969

7070
const QSize requiredSize(1024,1024);
7171
QPixmap icon(networkStyle->getAppIcon().pixmap(requiredSize));

0 commit comments

Comments
 (0)