1
0

Use separate top/bottom textures for chat scrollbar

This commit is contained in:
luk3yx 2023-04-22 16:36:28 +12:00 committed by mckaygerhard
parent 25a36b9291
commit a1a38c20af
5 changed files with 3 additions and 1 deletions

View File

@ -1031,9 +1031,11 @@ void GUIChatConsole::createVScrollBar()
ITextureSource *tsrc = m_client->getTextureSource();
m_vscrollbar->setTextures({
tsrc->getTexture("gui/scrollbar_bg.png"),
tsrc->getTexture("gui/scrollbar_slider_long.png"),
tsrc->getTexture("gui/scrollbar_slider_middle.png"),
tsrc->getTexture("gui/scrollbar_up.png"),
tsrc->getTexture("gui/scrollbar_down.png"),
tsrc->getTexture("gui/scrollbar_slider_top.png"),
tsrc->getTexture("gui/scrollbar_slider_bottom.png"),
});
addChild(m_vscrollbar);

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 425 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 B