mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-09-01 03:13:17 +02:00
About screen improvements.
This commit is contained in:
@@ -137,7 +137,7 @@ auto AboutDialog::show() -> void {
|
||||
websiteValue.setAlignment(0.0);
|
||||
websiteValue.setFont(Font().setBold());
|
||||
websiteValue.setForegroundColor({0, 0, 240});
|
||||
websiteValue.setText(state.website);
|
||||
websiteValue.setText(string{state.website}.trimLeft("http://", 1L).trimLeft("https://", 1L));
|
||||
//so that the hand cursor is only visible when overing over the link.
|
||||
websiteValue.setMouseCursor(MouseCursor::Hand);
|
||||
websiteValue.onMouseRelease([&](auto button) {
|
||||
|
Reference in New Issue
Block a user