diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ChatMessage.cpp | 2 | ||||
-rw-r--r-- | src/GtkGif.cpp | 2 | ||||
-rw-r--r-- | src/GtkScaledImage.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/ChatMessage.cpp b/src/ChatMessage.cpp index 638cfa2..59eb059 100644 --- a/src/ChatMessage.cpp +++ b/src/ChatMessage.cpp @@ -9,7 +9,7 @@ namespace dchat { avatar.set_halign(Gtk::ALIGN_START); avatar.set_valign(Gtk::ALIGN_START); - avatar.set_size_request(50, 50); + avatar.set_size_request(35, 35); avatar.url = "https://discordemoji.com/assets/emoji/PeepoHide.png"; username.set_selectable(true); diff --git a/src/GtkGif.cpp b/src/GtkGif.cpp index 5800e29..76a6ebe 100644 --- a/src/GtkGif.cpp +++ b/src/GtkGif.cpp @@ -46,6 +46,6 @@ namespace dchat double scaleY = (double)height / (double)surface->get_height(); cairo->scale(scaleX, scaleY); cairo->set_source(surface, 0.0, 0.0); - cairo->paint(); + cairo->mask(surface, 0.0, 0.0); } }
\ No newline at end of file diff --git a/src/GtkScaledImage.cpp b/src/GtkScaledImage.cpp index 6f41c11..d6f0e49 100644 --- a/src/GtkScaledImage.cpp +++ b/src/GtkScaledImage.cpp @@ -57,6 +57,6 @@ namespace dchat double scaleY = (double)height / (double)surface->get_height(); cairo->scale(scaleX, scaleY); cairo->set_source(surface, 0.0, 0.0); - cairo->paint(); + cairo->mask(surface, 0.0, 0.0); } }
\ No newline at end of file |