Skip to content

Commit e7863a8

Browse files
committed
fix: don't use primary style in about window social buttons
1 parent 66ba29d commit e7863a8

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

scripts/draw_window_about/draw_window_about.gml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,26 +77,26 @@ function draw_window_about() {
7777
draw_set_halign(fa_left)
7878
// End credits box
7979

80-
if (draw_button2(x1 + 8, y1 + 380, 72, condstr(language != 1, "Website", "官方网站"), false)) {
80+
if (draw_button2(x1 + 8, y1 + 380, 72, condstr(language != 1, "Website", "官方网站"), false, true)) {
8181
open_url(link_website)
8282
}
83-
if (draw_button2(x1 + 84, y1 + 380, 72, condstr(language != 1, "GitHub", "GitHub"), false)) {
83+
if (draw_button2(x1 + 84, y1 + 380, 72, condstr(language != 1, "GitHub", "GitHub"), false, true)) {
8484
open_url(link_github)
8585
}
86-
if (draw_button2(x1 + 160, y1 + 380, 72, condstr(language != 1, "Discord", "Discord"), false)) {
86+
if (draw_button2(x1 + 160, y1 + 380, 72, condstr(language != 1, "Discord", "Discord"), false, true)) {
8787
open_url(link_discord)
8888
}
89-
if (draw_button2(x1 + 236, y1 + 380, 72, condstr(language != 1, "Twitter", "Twitter"), false)) {
89+
if (draw_button2(x1 + 236, y1 + 380, 72, condstr(language != 1, "Twitter", "Twitter"), false, true)) {
9090
open_url(link_twitter)
9191
}
92-
if (draw_button2(x1 + 312, y1 + 380, 72, condstr(language != 1, "YouTube", "YouTube"), false)) {
92+
if (draw_button2(x1 + 312, y1 + 380, 72, condstr(language != 1, "YouTube", "YouTube"), false, true)) {
9393
open_url(link_youtube)
9494
}
95-
if (draw_button2(x1 + 388, y1 + 380, 72, condstr(language != 1, "Donate", "捐赠"), false)) {
95+
if (draw_button2(x1 + 388, y1 + 380, 72, condstr(language != 1, "Donate", "捐赠"), false, true)) {
9696
open_url(link_donate)
9797
}
9898

99-
if (draw_button2(x1 + 580 - 72 - 8, y1 + 380, 72, condstr(language != 1, "OK", "确定"), false) && (windowopen = 1 || theme != 3)) {
99+
if (draw_button2(x1 + 580 - 72 - 8, y1 + 380, 72, condstr(language != 1, "OK", "确定"), false, false) && (windowopen = 1 || theme != 3)) {
100100
windowclose = 1
101101
}
102102
if (display_mouse_get_x() - window_get_x() >= 0 && display_mouse_get_y() - window_get_y() >= 0 && display_mouse_get_x() - window_get_x() < 0 + window_width && display_mouse_get_y() - window_get_y() < 0 + window_height) {

0 commit comments

Comments
 (0)