Skip to content
Snippets Groups Projects
Commit b6d16d47 authored by Benoît Minisini's avatar Benoît Minisini :church:
Browse files

BUG: Desktop.Is() now checks the provided type with a 'X-' prefix added too.

[GB.GUI.BASE]
* BUG: Desktop.Is() now checks the provided type with a 'X-' prefix added too.
parent 362dd48e
No related branches found
No related tags found
Loading
Pipeline #1084242491 passed
comp/src/gb.gui.base/.icon.png

4.66 KiB | W: | H:

comp/src/gb.gui.base/.icon.png

3.66 KiB | W: | H:

comp/src/gb.gui.base/.icon.png
comp/src/gb.gui.base/.icon.png
comp/src/gb.gui.base/.icon.png
comp/src/gb.gui.base/.icon.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -76,7 +76,9 @@ End
Static Public Sub Is(Type As String) As Boolean
Return Types_Read().Exist(Type, gb.IgnoreCase)
GetDesktop()
If $aDesktopType.Exist(Type, gb.IgnoreCase) Then Return True
If $aDesktopType.Exist("X-" & Type, gb.IgnoreCase) Then Return True
End
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment