User Tag List

Results 1 to 1 of 1

Thread: Stray black box on the 'Edit DMap' window

  1. #1
    Octorok Asuna Yuuki Nagato's Avatar
    Join Date
    Jan 2024
    Posts
    491
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    56
    Level
    2
    vBActivity - Bars
    Lv. Percent
    59.83%

    Dead Bug Stray black box on the 'Edit DMap' window

    There is a stray black box on the "Edit DMap" window.

    Steps to recreate:

    1. Quest->DMaps
    2. Click 'Edit' in the "Select DMap" window
    3. Make sure "Type:" is set to "Overworld"
    4. Observe black box immediately above the "Continue here" checkbox label


    Upon closer inspection, it appears to be the horizontal scrollbar which is only scrollable when "Type:" is set to:

    • NES Dungeon
    • Interior
    • BS Overworld
    Last edited by jeffythedragonslayer; 04-06-2024 at 09:24 PM.

  2. #2
    Octorok Asuna Yuuki Nagato's Avatar
    Join Date
    Jan 2024
    Posts
    491
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    56
    Level
    2
    vBActivity - Bars
    Lv. Percent
    59.83%

  3. #3
    Octorok Asuna Yuuki Nagato's Avatar
    Join Date
    Jan 2024
    Posts
    491
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    56
    Level
    2
    vBActivity - Bars
    Lv. Percent
    59.83%
    This window is created in edit_dmap.cpp

  4. #4
    Octorok Asuna Yuuki Nagato's Avatar
    Join Date
    Jan 2024
    Posts
    491
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    56
    Level
    2
    vBActivity - Bars
    Lv. Percent
    59.83%
    This is the code snippet that creates that slider:

    Code:
    						dmap_slider = Slider(
    							colSpan = 2, fitParent = true, 
    							disabled = !sm_dmap(local_dmap.type),
    							offset = local_dmap.xoff,
    							maxheight = 16_px,
    							minOffset = -7, maxOffset = 15,
    							onValChangedFunc = [&](int32_t offset)
    							{
    								local_dmap.xoff = offset;
    								dmap_mmap->setOffset(offset);
    							}),
    which is declared in edit_dmap.h:

    Code:
    	std::shared_ptr<GUI::Slider> dmap_slider;

  5. #5
    Octorok Asuna Yuuki Nagato's Avatar
    Join Date
    Jan 2024
    Posts
    491
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    56
    Level
    2
    vBActivity - Bars
    Lv. Percent
    59.83%
    GUI::Slider extends Widget, which has a setVisible member function.

  6. #6
    Octorok Asuna Yuuki Nagato's Avatar
    Join Date
    Jan 2024
    Posts
    491
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    56
    Level
    2
    vBActivity - Bars
    Lv. Percent
    59.83%
    We have a fix for this now in the next version.

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social